diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-06 12:58:46 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-06 13:27:08 -0400 |
commit | 00a68c5eea17db975446c499a6dbf84311441f04 (patch) | |
tree | 654297114f26b6da04f27b630a9465036044e226 /src/yuzu/debugger | |
parent | 1ac45342ddf8a12052d88d669240e5522aaf6395 (diff) |
qt: Default destructors where applicable
Makes code consistent with our style of defaulting special member
functions where applicable.
Diffstat (limited to 'src/yuzu/debugger')
-rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.cpp | 3 | ||||
-rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index ff3efcdaa..3f7103ab9 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.cpp +++ b/src/yuzu/debugger/graphics/graphics_surface.cpp @@ -34,7 +34,8 @@ static Tegra::Texture::TextureFormat ConvertToTextureFormat( SurfacePicture::SurfacePicture(QWidget* parent, GraphicsSurfaceWidget* surface_widget_) : QLabel(parent), surface_widget(surface_widget_) {} -SurfacePicture::~SurfacePicture() {} + +SurfacePicture::~SurfacePicture() = default; void SurfacePicture::mousePressEvent(QMouseEvent* event) { // Only do something while the left mouse button is held down diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp index f5a5697a0..3b23d0bbe 100644 --- a/src/yuzu/debugger/wait_tree.cpp +++ b/src/yuzu/debugger/wait_tree.cpp @@ -14,7 +14,7 @@ #include "core/hle/kernel/timer.h" #include "core/hle/kernel/wait_object.h" -WaitTreeItem::~WaitTreeItem() {} +WaitTreeItem::~WaitTreeItem() = default; QColor WaitTreeItem::GetColor() const { return QColor(Qt::GlobalColor::black); |