diff options
| author | Linktothepast <kostamarino@gmail.com> | 2015-09-28 16:50:35 +0300 |
|---|---|---|
| committer | Linktothepast <kostamarino@gmail.com> | 2015-09-28 16:50:35 +0300 |
| commit | 748be565b8df535ef558e74b38cd0f4d615f8a21 (patch) | |
| tree | b151efee0a87e99125f2401325a9bddecf84fc73 /Source/Core/Common/SymbolDB.cpp | |
| parent | cf17fccdd3093a1b8476b10183b1c4bde36da74d (diff) | |
| parent | ce493b897d6d3735c930a8465cc0c26bbe5feb86 (diff) | |
Merge remote-tracking branch 'dolphin-emu/master' into gameinis
Diffstat (limited to 'Source/Core/Common/SymbolDB.cpp')
| -rw-r--r-- | Source/Core/Common/SymbolDB.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Common/SymbolDB.cpp b/Source/Core/Common/SymbolDB.cpp index 9e7b553b13..260f5de3fe 100644 --- a/Source/Core/Common/SymbolDB.cpp +++ b/Source/Core/Common/SymbolDB.cpp @@ -20,8 +20,7 @@ void SymbolDB::List() func.second.size, func.second.hash, func.second.numCalls); } - INFO_LOG(OSHLE, "%lu functions known in this program above.", - (unsigned long)functions.size()); + INFO_LOG(OSHLE, "%zu functions known in this program above.", functions.size()); } void SymbolDB::Clear(const char *prefix) @@ -53,5 +52,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); } |
