diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-06-28 19:08:28 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-06-28 19:52:40 -0400 |
| commit | daa205990fa043092394931b85be6efdc37408df (patch) | |
| tree | d1e85f070ba34dc138e6744ddc18453b8f525d10 /Source/Core/VideoCommon/OnScreenDisplay.cpp | |
| parent | 1120132d261f08fae7bb19933a4d814d52eca8a3 (diff) | |
Use emplace() instead of insert() where applicable for maps.
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenDisplay.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenDisplay.cpp | 2 |
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) |
