Change to C++20

This commit is contained in:
Andrew S. Rightenburg 2024-05-03 18:54:55 +08:00
parent 35344263d3
commit 324d7f4f67
Signed by: rail5
GPG Key ID: A0CB570AB6629159
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ CXX=g++
PARAMS=-O2 -s
all:
$(CXX) -std=gnu++17 -o bin/polonius-editor $(PARAMS) src/main.cpp
$(CXX) -std=gnu++20 -o bin/polonius-editor $(PARAMS) src/main.cpp
clean:
rm -f bin/polonius-editor

View File

@ -2,7 +2,7 @@ CXX=g++
PARAMS=-O2 -s
all:
$(CXX) -std=gnu++17 -o bin/polonius-reader $(PARAMS) src/main.cpp
$(CXX) -std=gnu++20 -o bin/polonius-reader $(PARAMS) src/main.cpp
clean:
rm -f bin/polonius-reader