mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00: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:
parent
0fabab0760
commit
cf0f2bbf1d
2 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue