From e73fe49d3cad8094c9bc449d67eab9a23cccc2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 14 Apr 2018 15:46:55 +0200 Subject: [PATCH] 4e820b6c4a7a59118f0042a7bc40450751d8cbd9 --- lib/symboldatabase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;