diff --git a/lib/symboldatabase.h b/lib/symboldatabase.h index 8a67e365a..3b30aa0ee 100644 --- a/lib/symboldatabase.h +++ b/lib/symboldatabase.h @@ -1016,7 +1016,7 @@ public: const Function * back = &functionList.back(); - functionMap.emplace(back->tokenDef->str(), back); + functionMap.insert(make_pair(back->tokenDef->str(), back)); } bool hasDefaultConstructor() const;