VideoCommon/NetPlayGolfUI: Initialize netplay_client in the constructor initializer list
This commit is contained in:
parent
c958fc1278
commit
0fabab0760
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue