summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NetPlayChatUI.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 06:18:55 -0400
committerLioncash <mathew1800@gmail.com>2019-05-29 06:20:05 -0400
commitc958fc1278f90b8fb4e401abc9a7a16f76f42401 (patch)
treebdcdf5f77a51b1b63a2f1eb0192bea9d6028082e /Source/Core/VideoCommon/NetPlayChatUI.cpp
parent53b115b81e626d563afb62939ac192f56974817b (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/NetPlayChatUI.cpp')
-rw-r--r--Source/Core/VideoCommon/NetPlayChatUI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/NetPlayChatUI.cpp b/Source/Core/VideoCommon/NetPlayChatUI.cpp
index 7428233286..a84c26d8d7 100644
--- a/Source/Core/VideoCommon/NetPlayChatUI.cpp
+++ b/Source/Core/VideoCommon/NetPlayChatUI.cpp
@@ -18,6 +18,8 @@ NetPlayChatUI::NetPlayChatUI(std::function<void(const std::string&)> callback)
{
}
+NetPlayChatUI::~NetPlayChatUI() = default;
+
void NetPlayChatUI::Display()
{
const float scale = ImGui::GetIO().DisplayFramebufferScale.x;