diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-02-06 13:02:02 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-02-06 13:03:35 -0500 |
| commit | 2597d2b69b10c160e45a5a2182abb67df520ced1 (patch) | |
| tree | c6aa0fec42e0c5c3f3a29be86dee3be02677e180 /Source/Core/DolphinWX/NetPlay/NetWindow.cpp | |
| parent | e4c17f126c871adce2d2f70ba9aed9e65a58dbb6 (diff) | |
NetWindow: Make chat messages queue private
This doesn't need to be publicly accessable.
Diffstat (limited to 'Source/Core/DolphinWX/NetPlay/NetWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/NetPlay/NetWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/NetPlay/NetWindow.cpp b/Source/Core/DolphinWX/NetPlay/NetWindow.cpp index f082656a94..75cf03885e 100644 --- a/Source/Core/DolphinWX/NetPlay/NetWindow.cpp +++ b/Source/Core/DolphinWX/NetPlay/NetWindow.cpp @@ -386,7 +386,7 @@ void NetPlayDialog::Update() void NetPlayDialog::AppendChat(const std::string& msg) { - chat_msgs.Push(msg); + m_chat_msgs.Push(msg); // silly Update(); } @@ -613,10 +613,10 @@ void NetPlayDialog::OnThread(wxThreadEvent& event) } // chat messages - while (chat_msgs.Size()) + while (m_chat_msgs.Size()) { std::string s; - chat_msgs.Pop(s); + m_chat_msgs.Pop(s); AddChatMessage(ChatMessageType::UserIn, s); if (g_ActiveConfig.bShowNetPlayMessages) |
