From 4ceba79f7f0b66d2452cbf7825144690ea61cdf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 20 Jul 2016 20:43:32 +0200 Subject: [PATCH] Replace std::to_string, to hopefully make appveyor happier --- lib/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index bc94b5ca6..fe64d8e2d 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -146,7 +146,7 @@ unsigned int CppCheck::processFile(const std::string& filename, std::istream& fi continue; const std::string code = "#line " + - std::to_string(tok->location.line) + + MathLib::toString(tok->location.line) + '\"' + tok->location.file() + "\'\n" + directive;