Merge branch 'master' of https://github.com/Hackerpilot/Dscanner
This commit is contained in:
commit
cfd6192bc6
|
@ -39,7 +39,7 @@ class ObjectConstCheck : BaseAnalyzer
|
||||||
{
|
{
|
||||||
addErrorMessage(d.functionDeclaration.name.line,
|
addErrorMessage(d.functionDeclaration.name.line,
|
||||||
d.functionDeclaration.name.column, "Methods 'opCmp', 'toHash',"
|
d.functionDeclaration.name.column, "Methods 'opCmp', 'toHash',"
|
||||||
~ " 'opEquals', and 'toString' should be declared const.");
|
~ " 'opEquals', and 'toString' are non-const.");
|
||||||
}
|
}
|
||||||
d.accept(this);
|
d.accept(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue