Fixed Cppcheck warning. Using emplace is not allowed for now for compatibility reasons.

This commit is contained in:
Daniel Marjamäki 2020-12-20 07:52:09 +01:00
parent 28e33ef0b9
commit 7a7d51a548
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ void Settings::loadSummaries()
summaryNoreturn[functionName] = true;
else
// If there is a value for function already keep it, otherwise insert false
summaryNoreturn.emplace(std::pair<std::string,bool>(functionName, false));
summaryNoreturn.insert(std::pair<std::string,bool>(functionName, false));
}
}
}