From 4ed05c0bb2786cf476388598a727b2b03d2d22ee Mon Sep 17 00:00:00 2001 From: Tang Yiwei Date: Wed, 28 Sep 2022 14:30:21 +0800 Subject: [PATCH] Set CMAKE_CXX_STANDARD to 20 Signed-off-by: Tang Yiwei --- CMakeLists.txt | 2 +- NodeManagerProxy.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b7c4b6..0b66e8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.5 FATAL_ERROR) project (node-manager-proxy CXX) -set (CMAKE_CXX_STANDARD 17) +set (CMAKE_CXX_STANDARD 20) set (CMAKE_CXX_STANDARD_REQUIRED ON) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti") set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-rtti") diff --git a/NodeManagerProxy.hpp b/NodeManagerProxy.hpp index 15d4e97..bdeeafe 100644 --- a/NodeManagerProxy.hpp +++ b/NodeManagerProxy.hpp @@ -13,6 +13,7 @@ * limitations under the License. */ +#include #include #include #include