summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SymbolDB.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-06-28 19:08:28 -0400
committerLioncash <mathew1800@gmail.com>2015-06-28 19:52:40 -0400
commitdaa205990fa043092394931b85be6efdc37408df (patch)
treed1e85f070ba34dc138e6744ddc18453b8f525d10 /Source/Core/Common/SymbolDB.cpp
parent1120132d261f08fae7bb19933a4d814d52eca8a3 (diff)
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);
}