mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
VideoCommon/NetPlayChatUI: Default destructor in the cpp file
Ensures that the destruction logic is kept local to the translation unit (making it nicer when it comes to forward declaring non-trivial types). It also doesn't really do much to define it in the header.
This commit is contained in:
parent
53b115b81e
commit
c958fc1278
@ -18,6 +18,8 @@ NetPlayChatUI::NetPlayChatUI(std::function<void(const std::string&)> callback)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NetPlayChatUI::~NetPlayChatUI() = default;
|
||||||
|
|
||||||
void NetPlayChatUI::Display()
|
void NetPlayChatUI::Display()
|
||||||
{
|
{
|
||||||
const float scale = ImGui::GetIO().DisplayFramebufferScale.x;
|
const float scale = ImGui::GetIO().DisplayFramebufferScale.x;
|
||||||
|
@ -15,7 +15,7 @@ class NetPlayChatUI
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit NetPlayChatUI(std::function<void(const std::string&)> callback);
|
explicit NetPlayChatUI(std::function<void(const std::string&)> callback);
|
||||||
~NetPlayChatUI() = default;
|
~NetPlayChatUI();
|
||||||
|
|
||||||
using Color = std::array<float, 3>;
|
using Color = std::array<float, 3>;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user