Jelajahi Sumber

symbols: Replace an insert call with emplace

Lioncash 10 tahun lalu
induk
melakukan
8cb2bc748d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/common/symbols.cpp

+ 1 - 1
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);
         }
     }