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.
This commit is contained in:
Lioncash 2019-05-29 06:17:24 -04:00
parent 0fabab0760
commit cf0f2bbf1d
2 changed files with 3 additions and 1 deletions

View file

@ -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();

View file

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