Use new signature Tokenizer::createTokens

This commit is contained in:
amai2012 2016-05-09 17:14:51 +02:00
parent d7d98689dd
commit 3dea23c99e
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ unsigned int CppCheck::processFile(const std::string& filename, std::istream& fi
// Create tokens, skip rest of iteration if failed // Create tokens, skip rest of iteration if failed
std::istringstream istr(codeWithoutCfg); std::istringstream istr(codeWithoutCfg);
Timer timer("Tokenizer::createTokens", _settings.showtime, &S_timerResults); Timer timer("Tokenizer::createTokens", _settings.showtime, &S_timerResults);
bool result = _tokenizer.createTokens(istr, filename.c_str()); bool result = _tokenizer.createTokens(istr, filename);
timer.Stop(); timer.Stop();
if (!result) if (!result)
continue; continue;