refactoring - fixed the unit tests
This commit is contained in:
parent
3c1c33669e
commit
bcad5afb26
|
@ -36,7 +36,7 @@ public:
|
||||||
|
|
||||||
/** This constructor is used when running checks.. */
|
/** This constructor is used when running checks.. */
|
||||||
CheckAutoVariables(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
CheckAutoVariables(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
||||||
: Check(tokenizer, settings, errorLogger)
|
: Check(tokenizer, settings, errorLogger)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
||||||
|
|
|
@ -61,7 +61,7 @@ private:
|
||||||
|
|
||||||
// Check..
|
// Check..
|
||||||
CheckStl checkStl;
|
CheckStl checkStl;
|
||||||
checkStl.runChecks(&tokenizer, (const Settings *)0, this);
|
checkStl.runSimplifiedChecks(&tokenizer, (const Settings *)0, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue