From fc163f7f0656650826f5350c4ea57f8d9bd020da Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 22 Jul 2022 21:19:58 +0200 Subject: [PATCH] Meta: Bump C++ version from 17 to 20 --- .clang-format | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index d3078a9..3afd345 100644 --- a/.clang-format +++ b/.clang-format @@ -33,7 +33,7 @@ SpaceAfterTemplateKeyword: false SpaceInEmptyBlock: false NamespaceIndentation: None FixNamespaceComments: true -Standard: c++17 +Standard: c++20 TabWidth: 4 UseTab: AlignWithSpaces ... diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aa7712..00736ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ include(GNUInstallDirs) # ------------------------------------------ # Setup C++ compiler -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF)