Robert Reif: Fixed #1158 ((possible style) message with regular check)
This commit is contained in:
parent
28f2bf2150
commit
61e61c1584
|
@ -54,7 +54,12 @@ public:
|
|||
checkStl.pushback();
|
||||
checkStl.stlBoundries();
|
||||
checkStl.find();
|
||||
checkStl.size();
|
||||
|
||||
if (settings->_checkCodingStyle)
|
||||
{
|
||||
if (settings->_showAll)
|
||||
checkStl.size();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -89,8 +89,11 @@ private:
|
|||
errout.str("");
|
||||
|
||||
// Check..
|
||||
Settings settings;
|
||||
settings._checkCodingStyle = true;
|
||||
settings._showAll = true;
|
||||
CheckStl checkStl;
|
||||
checkStl.runSimplifiedChecks(&tokenizer, (const Settings *)0, this);
|
||||
checkStl.runSimplifiedChecks(&tokenizer, &settings, this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue