Skip to content
Permalink
Browse files

VideoCommon/NetPlayGolfUI: Initialize netplay_client in the construct…

…or initializer list
  • Loading branch information...
lioncash committed May 29, 2019
1 parent c958fc1 commit 0fabab07606883fdd2b31b263d54a2a2908aed16
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/VideoCommon/NetPlayGolfUI.cpp
@@ -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()

0 comments on commit 0fabab0

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