Skip to content

Commit 405d349

Browse files
committed
[cppcheck] Enable --std=c++20
1 parent c66a6a9 commit 405d349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if (found_cppcheck)
128128
cppcheck
129129

130130
# unusedFunction can't be used with -j for some reason.
131-
cppcheck --enable=all -j ${CPU_COUNT} --std=c++17 --language=c++ --inconclusive
131+
cppcheck --enable=all -j ${CPU_COUNT} --std=c++20 --language=c++ --inconclusive
132132
--project=${CMAKE_CURRENT_BINARY_DIR}/compile_commands.json --xml 2> cppcheck.xml &&
133133
python3 ${CMAKE_SOURCE_DIR}/scripts/cppcheck-htmlreport.py --file=cppcheck.xml --report-dir=cppcheck
134134

0 commit comments

Comments
 (0)