From 249a101ec278e40cddc344917a9db842daa49c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 28 Apr 2020 22:18:02 +0200 Subject: [PATCH] Travis: Fix naming --- lib/exprengine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/exprengine.cpp b/lib/exprengine.cpp index ff6786c5f..b158d1713 100644 --- a/lib/exprengine.cpp +++ b/lib/exprengine.cpp @@ -86,23 +86,23 @@ namespace { if (mSymbols.find(symbolicExpression) != mSymbols.end()) return; mSymbols.insert(symbolicExpression); - map[tok].push_back(symbolicExpression + "=" + value->getRange()); + mMap[tok].push_back(symbolicExpression + "=" + value->getRange()); } void state(const Token *tok, const std::string &s) { - map[tok].push_back(s); + mMap[tok].push_back(s); } void print(std::ostream &out) { std::set> locations; - for (auto it : map) { + for (auto it : mMap) { locations.insert(std::pair(it.first->linenr(), it.first->column())); } for (const std::pair &loc : locations) { int lineNumber = loc.first; int column = loc.second; - for (auto &it : map) { + for (auto &it : mMap) { const Token *tok = it.first; if (lineNumber != tok->linenr()) continue; @@ -160,7 +160,7 @@ namespace { return "ok"; } - std::map> map; + std::map> mMap; int mDataIndex; int mAbortLine;