summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NetPlayGolfUI.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 06:16:28 -0400
committerLioncash <mathew1800@gmail.com>2019-05-29 06:20:05 -0400
commit0fabab07606883fdd2b31b263d54a2a2908aed16 (patch)
treef2285c09351f6e14015109d40adf0463b8649734 /Source/Core/VideoCommon/NetPlayGolfUI.cpp
parentc958fc1278f90b8fb4e401abc9a7a16f76f42401 (diff)
VideoCommon/NetPlayGolfUI: Initialize netplay_client in the constructor initializer list
Diffstat (limited to 'Source/Core/VideoCommon/NetPlayGolfUI.cpp')
-rw-r--r--Source/Core/VideoCommon/NetPlayGolfUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/NetPlayGolfUI.cpp b/Source/Core/VideoCommon/NetPlayGolfUI.cpp
index 3a831b1cf1..42fd1186db 100644
--- a/Source/Core/VideoCommon/NetPlayGolfUI.cpp
+++ b/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()