From 3dea23c99e8f0e9f0d5c0e49c809f519cf1c939b Mon Sep 17 00:00:00 2001 From: amai2012 Date: Mon, 9 May 2016 17:14:51 +0200 Subject: [PATCH] Use new signature Tokenizer::createTokens --- lib/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index d976e85de..238073dd0 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -214,7 +214,7 @@ unsigned int CppCheck::processFile(const std::string& filename, std::istream& fi // Create tokens, skip rest of iteration if failed std::istringstream istr(codeWithoutCfg); Timer timer("Tokenizer::createTokens", _settings.showtime, &S_timerResults); - bool result = _tokenizer.createTokens(istr, filename.c_str()); + bool result = _tokenizer.createTokens(istr, filename); timer.Stop(); if (!result) continue;