summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-11-06 10:24:35 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-11-06 10:33:15 +0100
commit1689e28435021f9bd12d92d167113338eb230057 (patch)
treed8a8aeba7e12c1f11c299471dc8dd98a4c554dee /src
parent463f0740e1731c15917ffdb3e2f4b3f4c83aa024 (diff)
Use C++20.
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));