astyle fix

This commit is contained in:
Reijo Tomperi 2009-10-27 11:10:59 +02:00
parent 27761a6edc
commit 3be9f2e6cc
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
CppCheck::CppCheck(ErrorLogger &errorLogger) CppCheck::CppCheck(ErrorLogger &errorLogger)
: _errorLogger(errorLogger) : _errorLogger(errorLogger)
{ {
} }

View File

@ -40,7 +40,7 @@ void getDeps(const std::string &filename, std::vector<std::string> &depfiles)
std::ifstream f(filename.c_str()); std::ifstream f(filename.c_str());
if (! f.is_open()) if (! f.is_open())
{ {
if (filename.compare(0,4,"cli/") == 0 || filename.compare(0,5,"test/") == 0) if (filename.compare(0, 4, "cli/") == 0 || filename.compare(0, 5, "test/") == 0)
getDeps("lib" + filename.substr(filename.find("/")), depfiles); getDeps("lib" + filename.substr(filename.find("/")), depfiles);
return; return;
} }