diff --git a/CMakeLists.txt b/CMakeLists.txt index 47afe84..5c57399 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ add_executable( ${PROJECT_NAME} ) target_compile_features( ${PROJECT_NAME} PRIVATE - cxx_std_14 + cxx_std_17 ) target_sources( ${PROJECT_NAME} diff --git a/Makefile b/Makefile index bc2ac68..c5056c4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXX=g++ -CXXFLAGS=-O2 -pedantic -Wall -Wextra -ansi -std=c++11 +CXXFLAGS=-O2 -pedantic -Wall -Wextra -ansi -std=c++17 all: demo