Skip to content

Commit

Permalink
cppcheck uses c++17 (#404)
Browse files Browse the repository at this point in the history
Signed-off-by: sdhar04 <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
sdhar04 and azeey authored Feb 1, 2024
1 parent c1e0a63 commit ebf5175
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 ebf5175

Please sign in to comment.