Use new signature Tokenizer::createTokens
This commit is contained in:
parent
d7d98689dd
commit
3dea23c99e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue