aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-30 11:55:58 -0400
committerLioncash <mathew1800@gmail.com>2015-09-30 11:55:58 -0400
commit8cb2bc748d56cb0f0cb0f432e17fc6db73311696 (patch)
tree98469a5b749f32c120d411da13064653ba9a82c2
parent65d7a82db4d6b0236627baef1064a23695b12841 (diff)
symbols: Replace an insert call with emplace
-rw-r--r--src/common/symbols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/symbols.cpp b/src/common/symbols.cpp
index 0d7f0324a4..db83400438 100644
--- a/src/common/symbols.cpp
+++ b/src/common/symbols.cpp
@@ -23,7 +23,7 @@ namespace Symbols
symbol.size = size;
symbol.type = type;
- g_symbols.insert(TSymbolsPair(address, symbol));
+ g_symbols.emplace(address, symbol);
}
}