Merge pull request #192 from eco/patch-1
Tweak non-const method warning
This commit is contained in:
commit
bcd3e46f9b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue