summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SymbolDB.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2015-06-29 17:19:08 +0200
committerMarkus Wick <markus@selfnet.de>2015-06-29 17:19:08 +0200
commit134a18fdad7f963153c60c8d1a510e544c8d1777 (patch)
tree92f28fe862255d1f54ca62669d0d4f06cf3b790a /Source/Core/Common/SymbolDB.cpp
parentc06342c3cf6b6695a4a2ec9e759ef1dd2cb66015 (diff)
parentdaa205990fa043092394931b85be6efdc37408df (diff)
Merge pull request #2674 from lioncash/emplace
Use emplace() instead of insert() where applicable for maps.
Diffstat (limited to 'Source/Core/Common/SymbolDB.cpp')
-rw-r--r--Source/Core/Common/SymbolDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/SymbolDB.cpp b/Source/Core/Common/SymbolDB.cpp
index 9e7b553b13..f8b9cec346 100644
--- a/Source/Core/Common/SymbolDB.cpp
+++ b/Source/Core/Common/SymbolDB.cpp
@@ -53,5 +53,5 @@ Symbol* SymbolDB::GetSymbolFromName(const std::string& name)
void SymbolDB::AddCompleteSymbol(const Symbol &symbol)
{
- functions.insert(std::pair<u32, Symbol>(symbol.address, symbol));
+ functions.emplace(symbol.address, symbol);
}