diff --git a/CMakeLists.txt b/CMakeLists.txt index 6104c5ce5..2accd8a86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ endforeach() # Build the library with C++11 standard support, independent from other including # software which may use a different CXX_STANDARD or CMAKE_CXX_STANDARD. -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/include/json/value.h b/include/json/value.h index 5f6544329..06bc96171 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -39,9 +39,9 @@ #endif #endif -#if __cplusplus >= 201703L +//#if __cplusplus >= 201703L #define JSONCPP_HAS_STRING_VIEW 1 -#endif +//#endif #include #include