Skip to content
Permalink
Browse files

VideoCommon/NetPlayChatUI: Set member variable within the constructor…

… initializer list

Member variables should be initialized within the constructor
initializer list if possible.
  • Loading branch information...
lioncash committed May 29, 2019
1 parent 992c8bf commit 08223bad9f46f6c23bac915ae8d41eb7eac71b64
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/VideoCommon/NetPlayChatUI.cpp
@@ -14,8 +14,8 @@ constexpr size_t MAX_BACKLOG_SIZE = 100;
std::unique_ptr<NetPlayChatUI> g_netplay_chat_ui;

NetPlayChatUI::NetPlayChatUI(std::function<void(const std::string&)> callback)
: m_message_callback{std::move(callback)}
{
m_message_callback = std::move(callback);
}

void NetPlayChatUI::Display()

0 comments on commit 08223ba

Please sign in to comment.
You can’t perform that action at this time.