mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Use emplace() instead of insert() where applicable for maps.
This commit is contained in:
parent
1120132d26
commit
daa205990f
12 changed files with 41 additions and 30 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue