checkstl: fix inconsistent-missing-override warning reported by clang.
Warning was: lib/checkstl.h:57:18: warning: 'runChecks' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) { ^ lib/check.h:67:18: note: overridden virtual function is here virtual void runChecks(const Tokenizer *, const Settings *, ErrorLogger *) { ^
This commit is contained in:
parent
0e30bdef9d
commit
a9ae897f8c
|
@ -54,7 +54,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/** run checks, the token list is not simplified */
|
/** run checks, the token list is not simplified */
|
||||||
virtual void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) {
|
virtual void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) override {
|
||||||
if (!tokenizer->isCPP()) {
|
if (!tokenizer->isCPP()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue