VideoCommon/NetPlayGolfUI: Initialize netplay_client in the constructor initializer list

This commit is contained in:
Lioncash 2019-05-29 06:16:28 -04:00
parent c958fc1278
commit 0fabab0760
1 changed files with 1 additions and 1 deletions

View File

@ -16,8 +16,8 @@ constexpr float DEFAULT_WINDOW_HEIGHT = 45.0f;
std::unique_ptr<NetPlayGolfUI> g_netplay_golf_ui;
NetPlayGolfUI::NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client)
: m_netplay_client{netplay_client}
{
m_netplay_client = netplay_client;
}
void NetPlayGolfUI::Display()