Skip to content

Commit bdf0dbf

Browse files
authored
Update cppcheck to use cpp14 standard. (#1912)
1 parent d7dedbf commit bdf0dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
args: ["--style=file", "-i"] # Use the .clang-format file for configuration and apply all fixes
3737
files: ^(Common\+\+|Packet\+\+|Pcap\+\+|Tests|Examples)/.*\.(cpp|h)$
3838
- id: cppcheck
39-
args: ["--std=c++11", "--language=c++", "--suppressions-list=cppcheckSuppressions.txt", "--inline-suppr", "--force"]
39+
args: ["--std=c++14", "--language=c++", "--suppressions-list=cppcheckSuppressions.txt", "--inline-suppr", "--force"]
4040
- repo: https://github.com/BlankSpruce/gersemi
4141
rev: 0.19.3
4242
hooks:

0 commit comments

Comments
 (0)