Skip to content

Commit 551eca7

Browse files
committed
enforce C++14 for iterator default nullptr initialization
1 parent 39e68c2 commit 551eca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
7171
elseif (${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
7272
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
7373
# We want to link in C++11 mode if we're using Clang and on OS X.
74-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -ftemplate-depth=256 -std=c++11 -stdlib=libc++")
74+
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -ftemplate-depth=256 -std=c++14 -stdlib=libc++")
7575
else()
7676
# We just add the -Wall and a high enough template depth
7777
# flag for Clang in other systems.

0 commit comments

Comments
 (0)