summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-10-02 18:14:52 -0400
committerLioncash <mathew1800@gmail.com>2016-10-02 23:42:38 -0400
commitd8f72e9cdaa52ade2bfeb8c5aa794e3ff054bc75 (patch)
tree0e4a41788ddc72fae59f27958c996bb30ad00929 /Source/Core
parenta7b19e23b303a970f425d4e44ef01af598ea1feb (diff)
LogWindow: Use emplace instead of push for the message queue
Same thing.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/LogWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/LogWindow.cpp b/Source/Core/DolphinWX/LogWindow.cpp
index d72900924f..a971fe98e0 100644
--- a/Source/Core/DolphinWX/LogWindow.cpp
+++ b/Source/Core/DolphinWX/LogWindow.cpp
@@ -355,5 +355,5 @@ void CLogWindow::Log(LogTypes::LOG_LEVELS level, const char* text)
if (msgQueue.size() >= MSGQUEUE_MAX_SIZE)
msgQueue.pop();
- msgQueue.push(std::make_pair(u8(level), StrToWxStr(text)));
+ msgQueue.emplace(static_cast<u8>(level), StrToWxStr(text));
}