This commit is contained in:
parent
67834d50df
commit
40b183aed9
|
@ -172,8 +172,8 @@ struct StaticAnalysisConfig
|
|||
string properly_documented_public_functions = Check.disabled;
|
||||
|
||||
@INI("Check for useless usage of the final attribute")
|
||||
string final_attribute_check = Check.disabled;
|
||||
string final_attribute_check = Check.enabled;
|
||||
|
||||
@INI("Check for virtual calls in the class constructors")
|
||||
string vcall_in_ctor = Check.disabled;
|
||||
string vcall_in_ctor = Check.enabled;
|
||||
}
|
||||
|
|
|
@ -135,7 +135,10 @@ private:
|
|||
foreach (vm; _virtualMethods[$-1])
|
||||
{
|
||||
if (call == vm)
|
||||
{
|
||||
addErrorMessage(call.line, call.column, KEY, MSG);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue