mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-11 09:40:17 +00:00
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;
|
std::unique_ptr<NetPlayGolfUI> g_netplay_golf_ui;
|
||||||
|
|
||||||
NetPlayGolfUI::NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client)
|
NetPlayGolfUI::NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client)
|
||||||
|
: m_netplay_client{netplay_client}
|
||||||
{
|
{
|
||||||
m_netplay_client = netplay_client;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetPlayGolfUI::Display()
|
void NetPlayGolfUI::Display()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user