From cf0f2bbf1d6703d2c568e36636b4a467f6787214 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 29 May 2019 06:17:24 -0400 Subject: [PATCH] VideoCommon/NetPlayGolfUI: Default the destructor in the cpp file Ensures the destruction logic is kept local to the translation unit. It also doesn't really do much to have it specified in the header. --- Source/Core/VideoCommon/NetPlayGolfUI.cpp | 2 ++ Source/Core/VideoCommon/NetPlayGolfUI.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/NetPlayGolfUI.cpp b/Source/Core/VideoCommon/NetPlayGolfUI.cpp index 42fd1186db..fe67f9a63f 100644 --- a/Source/Core/VideoCommon/NetPlayGolfUI.cpp +++ b/Source/Core/VideoCommon/NetPlayGolfUI.cpp @@ -20,6 +20,8 @@ NetPlayGolfUI::NetPlayGolfUI(std::shared_ptr netplay_cli { } +NetPlayGolfUI::~NetPlayGolfUI() = default; + void NetPlayGolfUI::Display() { auto client = m_netplay_client.lock(); diff --git a/Source/Core/VideoCommon/NetPlayGolfUI.h b/Source/Core/VideoCommon/NetPlayGolfUI.h index 097c6cf600..0f7abdb384 100644 --- a/Source/Core/VideoCommon/NetPlayGolfUI.h +++ b/Source/Core/VideoCommon/NetPlayGolfUI.h @@ -16,7 +16,7 @@ class NetPlayGolfUI { public: explicit NetPlayGolfUI(std::shared_ptr netplay_client); - ~NetPlayGolfUI() = default; + ~NetPlayGolfUI(); void Display();