summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/NetPlay/NetWindow.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2017-02-06 10:20:29 -0800
committerGitHub <noreply@github.com>2017-02-06 10:20:29 -0800
commit0c7d9bbb73e77fb00e02eea3970389d8f449a7aa (patch)
tree8cf35ffd551079fa38d0e99a0eb47c1b2346b78f /Source/Core/DolphinWX/NetPlay/NetWindow.cpp
parentf978765bf0d1fd5bd934370ec0d4486eb1ea247f (diff)
parent2597d2b69b10c160e45a5a2182abb67df520ced1 (diff)
Merge pull request #4837 from lioncash/npd
NetWindow: Make chat messages queue private
Diffstat (limited to 'Source/Core/DolphinWX/NetPlay/NetWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/NetPlay/NetWindow.cpp6
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)