mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Use emplace() instead of insert() where applicable for maps.
This commit is contained in:
@ -71,7 +71,7 @@ void ClearMessages()
|
||||
// On-Screen Display Callbacks
|
||||
void AddCallback(CallbackType type, Callback cb)
|
||||
{
|
||||
s_callbacks.insert(std::pair<CallbackType, Callback>(type, cb));
|
||||
s_callbacks.emplace(type, cb);
|
||||
}
|
||||
|
||||
void DoCallbacks(CallbackType type)
|
||||
|
Reference in New Issue
Block a user