From 219583c91c799d6e8176ae77874012eb0bba864c Mon Sep 17 00:00:00 2001 From: Lloyd-Pottiger Date: Wed, 10 Apr 2024 17:01:41 +0800 Subject: [PATCH] revert Signed-off-by: Lloyd-Pottiger --- CMakeLists.txt | 2 +- dbms/src/Storages/S3/FileCache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a3547acf397..49fe64b7468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,7 +168,7 @@ endif () include (cmake/cpu_features.cmake) -set (CMAKE_CXX_STANDARD 23) +set (CMAKE_CXX_STANDARD 20) set (CMAKE_CXX_EXTENSIONS 1) # https://cmake.org/cmake/help/latest/prop_tgt/CXX_EXTENSIONS.html#prop_tgt:CXX_EXTENSIONS set (CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/dbms/src/Storages/S3/FileCache.h b/dbms/src/Storages/S3/FileCache.h index b82ddf7bf87..665050a40a9 100644 --- a/dbms/src/Storages/S3/FileCache.h +++ b/dbms/src/Storages/S3/FileCache.h @@ -324,4 +324,4 @@ struct fmt::formatter : formatter { return formatter::format(path.string(), ctx); } -}; \ No newline at end of file +};