Skip to content
Permalink
Browse files

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.
  • Loading branch information...
lioncash committed May 29, 2019
1 parent 0fabab0 commit cf0f2bbf1d6703d2c568e36636b4a467f6787214
Showing with 3 additions and 1 deletion.
  1. +2 −0 Source/Core/VideoCommon/NetPlayGolfUI.cpp
  2. +1 −1 Source/Core/VideoCommon/NetPlayGolfUI.h
@@ -20,6 +20,8 @@ NetPlayGolfUI::NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_cli
{
}

NetPlayGolfUI::~NetPlayGolfUI() = default;

void NetPlayGolfUI::Display()
{
auto client = m_netplay_client.lock();
@@ -16,7 +16,7 @@ class NetPlayGolfUI
{
public:
explicit NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client);
~NetPlayGolfUI() = default;
~NetPlayGolfUI();

void Display();

0 comments on commit cf0f2bb

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