refactoring - fixed the unit tests

This commit is contained in:
Daniel Marjamäki 2009-03-21 14:02:58 +01:00
parent 3c1c33669e
commit bcad5afb26
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);
} }