Tweak non-const method warning

They shouldn't necessarily be const, it's just usually a good idea.
This commit is contained in:
Brad Anderson 2014-07-23 18:20:34 -06:00
parent 7d5dd3bfde
commit eb8cbd8c2c
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class ObjectConstCheck : BaseAnalyzer
{
addErrorMessage(d.functionDeclaration.name.line,
d.functionDeclaration.name.column, "Methods 'opCmp', 'toHash',"
~ " 'opEquals', and 'toString' should be declared const.");
~ " 'opEquals', and 'toString' are non-const.");
}
d.accept(this);
}