Fixed Cppcheck warning. Made method const

This commit is contained in:
Daniel Marjamäki 2013-06-01 14:35:21 +02:00
parent 785d54046f
commit ca632bd771
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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