mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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:
@ -20,6 +20,8 @@ NetPlayGolfUI::NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_cli
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NetPlayGolfUI::~NetPlayGolfUI() = default;
|
||||||
|
|
||||||
void NetPlayGolfUI::Display()
|
void NetPlayGolfUI::Display()
|
||||||
{
|
{
|
||||||
auto client = m_netplay_client.lock();
|
auto client = m_netplay_client.lock();
|
||||||
|
@ -16,7 +16,7 @@ class NetPlayGolfUI
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client);
|
explicit NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client);
|
||||||
~NetPlayGolfUI() = default;
|
~NetPlayGolfUI();
|
||||||
|
|
||||||
void Display();
|
void Display();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user