From 1689e28435021f9bd12d92d167113338eb230057 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 6 Nov 2021 10:24:35 +0100 Subject: Use C++20. --- src/rebuild.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebuild.cc b/src/rebuild.cc index 3492955..af2bd8a 100644 --- a/src/rebuild.cc +++ b/src/rebuild.cc @@ -126,7 +126,7 @@ void recompileCheck(const Settings& global_settings, int argc, char* argv[], BuildConfiguration config; config.name = "ctor"; - config.cxxflags = std::vector({ "-s", "-O3", "-std=c++17" }); + config.cxxflags = std::vector({ "-s", "-O3", "-std=c++20" }); if(hasConfiguration(cfg::ctor_includedir)) { config.cxxflags.push_back("-I"s + getConfiguration(cfg::ctor_includedir)); -- cgit v1.2.3