summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenDisplay.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2015-06-29 17:19:08 +0200
committerMarkus Wick <markus@selfnet.de>2015-06-29 17:19:08 +0200
commit134a18fdad7f963153c60c8d1a510e544c8d1777 (patch)
tree92f28fe862255d1f54ca62669d0d4f06cf3b790a /Source/Core/VideoCommon/OnScreenDisplay.cpp
parentc06342c3cf6b6695a4a2ec9e759ef1dd2cb66015 (diff)
parentdaa205990fa043092394931b85be6efdc37408df (diff)
Merge pull request #2674 from lioncash/emplace
Use emplace() instead of insert() where applicable for maps.
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenDisplay.cpp')
-rw-r--r--Source/Core/VideoCommon/OnScreenDisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OnScreenDisplay.cpp b/Source/Core/VideoCommon/OnScreenDisplay.cpp
index ddd80065e1..dfd597f0ed 100644
--- a/Source/Core/VideoCommon/OnScreenDisplay.cpp
+++ b/Source/Core/VideoCommon/OnScreenDisplay.cpp
@@ -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)