Try to make Travis happy

This commit is contained in:
Daniel Marjamäki 2019-09-20 07:04:58 +02:00
parent 6c38b69e11
commit 8fba2af267
1 changed files with 4 additions and 4 deletions

View File

@ -54,10 +54,10 @@ static ExprEngine::ValuePtr getValueRangeFromValueType(const std::string &name,
namespace { namespace {
class TrackExecution { class TrackExecution {
public: public:
TrackExecution() : dataIndex(0) {} TrackExecution() : mDataIndex(0) {}
std::map<const Token *, std::vector<std::string>> map; std::map<const Token *, std::vector<std::string>> map;
int getNewDataIndex() { int getNewDataIndex() {
return dataIndex++; return mDataIndex++;
} }
void newValue(const Token *tok, ExprEngine::ValuePtr value) { void newValue(const Token *tok, ExprEngine::ValuePtr value) {
@ -80,7 +80,7 @@ namespace {
void print() { void print() {
std::set<std::pair<int,int>> locations; std::set<std::pair<int,int>> locations;
for (auto it : map) { for (auto it : map) {
locations.emplace(it.first->linenr(), it.first->column()); locations.insert(std::pair<int,int>(it.first->linenr(), it.first->column()));
} }
for (const std::pair<int,int> &loc : locations) { for (const std::pair<int,int> &loc : locations) {
int lineNumber = loc.first; int lineNumber = loc.first;
@ -96,7 +96,7 @@ namespace {
} }
} }
private: private:
int dataIndex; int mDataIndex;
}; };
class Data { class Data {