Fixed Cppcheck warning. Made method const
This commit is contained in:
parent
785d54046f
commit
ca632bd771
|
@ -7938,7 +7938,7 @@ void Tokenizer::syntaxError(const Token *tok, char c) const
|
|||
"when these macros are defined: '" + _configuration + "'.");
|
||||
}
|
||||
|
||||
void Tokenizer::unhandled_macro_class_x_y(const Token *tok)
|
||||
void Tokenizer::unhandled_macro_class_x_y(const Token *tok) const
|
||||
{
|
||||
reportError(tok,
|
||||
Severity::information,
|
||||
|
|
|
@ -569,7 +569,7 @@ public:
|
|||
void syntaxError(const Token *tok, char c) const;
|
||||
|
||||
/** Report that there is an unhandled "class x y {" code */
|
||||
void unhandled_macro_class_x_y(const Token *tok);
|
||||
void unhandled_macro_class_x_y(const Token *tok) const;
|
||||
|
||||
/**
|
||||
* assert that tokens are ok - used during debugging for example
|
||||
|
|
Loading…
Reference in New Issue