From f6a0b004e0424e1f12a226b3b3c7193063eb02e3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 22 Mar 2020 08:05:22 -0700 Subject: [PATCH] Update to C++14 --- CMakeLists.txt | 4 ++-- examples/alffplay.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 592a76877..2a8d6a97a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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. diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 6f14f71ef..43db12563 100644 --- a/examples/alffplay.cpp +++ b/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