mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-15 16:33:15 -03: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