diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2019-05-29 13:18:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-29 13:18:03 +0200 |
| commit | 0cfdcf436dcec26a4ba2ad1f5733687694f5691f (patch) | |
| tree | 83c60367646dcf6690c87ce7d989ebd473b3c896 /Source/Core/VideoCommon/NetPlayGolfUI.cpp | |
| parent | 4aaa00dd8c4f9698cb53c22e108d610aad00687f (diff) | |
| parent | 778623c48c9236e3fde42c7a643fc6d7bd05ee55 (diff) | |
Merge pull request #8136 from lioncash/arglist
VideoCommon/{NetPlayChatUI/NetPlayGolfUI}: Minor changes
Diffstat (limited to 'Source/Core/VideoCommon/NetPlayGolfUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/NetPlayGolfUI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/NetPlayGolfUI.cpp b/Source/Core/VideoCommon/NetPlayGolfUI.cpp index 3a831b1cf1..fe67f9a63f 100644 --- a/Source/Core/VideoCommon/NetPlayGolfUI.cpp +++ b/Source/Core/VideoCommon/NetPlayGolfUI.cpp @@ -16,10 +16,12 @@ 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; } +NetPlayGolfUI::~NetPlayGolfUI() = default; + void NetPlayGolfUI::Display() { auto client = m_netplay_client.lock(); |
