diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-29 02:05:06 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-03 15:34:31 -0400 |
commit | 536c9cf006750927aa06d842d8bd18d7274c0be6 (patch) | |
tree | 9e8ca81f3ad5f1fe61a4a0ed16b4a1ed782edfbf | |
parent | 0a650ec99e7141ea0a28b4f196a9b7d3f3bbe24e (diff) |
yuzu/bootmanager: Default EmuThread's destructor in the cpp file
This class contains non-trivial members, so we should default the
destructor's definition within the cpp file.
-rw-r--r-- | src/yuzu/bootmanager.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/bootmanager.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 05b2c2bea..97dee32e1 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -26,6 +26,8 @@ EmuThread::EmuThread(GRenderWindow* render_window) : render_window(render_window) {} +EmuThread::~EmuThread() = default; + void EmuThread::run() { render_window->MakeCurrent(); diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h index 85c080000..21b4958ff 100644 --- a/src/yuzu/bootmanager.h +++ b/src/yuzu/bootmanager.h @@ -27,11 +27,12 @@ namespace VideoCore { enum class LoadCallbackStage; } -class EmuThread : public QThread { +class EmuThread final : public QThread { Q_OBJECT public: explicit EmuThread(GRenderWindow* render_window); + ~EmuThread() override; /** * Start emulation (on new thread) |