Merge pull request #192 from eco/patch-1

Tweak non-const method warning
This commit is contained in:
Brian Schott 2014-07-24 00:57:21 +00:00
commit bcd3e46f9b
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);
}