Skip to content

Commit

Permalink
Update to C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Mar 22, 2020
1 parent adf28d8 commit f6a0b00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -125,8 +125,8 @@ SET(EXPORT_DECL "")
CHECK_TYPE_SIZE("long" SIZEOF_LONG)


# Require C++11
SET(CMAKE_CXX_STANDARD 11)
# Require C++14
SET(CMAKE_CXX_STANDARD 14)
SET(CMAKE_CXX_STANDARD_REQUIRED TRUE)

# Prefer C11, but support C99 and C90 too.
Expand Down
2 changes: 1 addition & 1 deletion examples/alffplay.cpp
@@ -1,7 +1,7 @@
/*
* An example showing how to play a stream sync'd to video, using ffmpeg.
*
* Requires C++11.
* Requires C++14.
*/

#include <condition_variable>
Expand Down

0 comments on commit f6a0b00

Please sign in to comment.