summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebuild.cc2
1 files changed, 1 insertions, 1 deletions
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<std::string>({ "-s", "-O3", "-std=c++17" });
+ config.cxxflags = std::vector<std::string>({ "-s", "-O3", "-std=c++20" });
if(hasConfiguration(cfg::ctor_includedir))
{
config.cxxflags.push_back("-I"s + getConfiguration(cfg::ctor_includedir));