Skip to content

Commit

Permalink
cppcheck uses c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhar04 committed Jan 22, 2024
1 parent ecb2fbc commit 9a91ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/GzCodeCheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function(_gz_setup_target_for_codecheck)
endif()

# Base set of cppcheck option
set (CPPCHECK_BASE -q --inline-suppr -j 4 --language=c++ --std=c++14 --force)
set (CPPCHECK_BASE -q --inline-suppr -j 4 --language=c++ --std=c++17 --force)
if (EXISTS "${PROJECT_BINARY_DIR}/cppcheck.suppress")
set (CPPCHECK_BASE ${CPPCHECK_BASE} --suppressions-list=${PROJECT_BINARY_DIR}/cppcheck.suppress)
endif()
Expand Down

0 comments on commit 9a91ad1

Please sign in to comment.