mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -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()
|
||||
{
|
||||
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();
|
||||
|
||||
|
Reference in New Issue
Block a user