Fixed Cppcheck warning. Using emplace is not allowed for now for compatibility reasons.
This commit is contained in:
parent
28e33ef0b9
commit
7a7d51a548
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue