summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-29 02:05:06 -0400
committerGravatar Lioncash2019-06-03 15:34:31 -0400
commit536c9cf006750927aa06d842d8bd18d7274c0be6 (patch)
tree9e8ca81f3ad5f1fe61a4a0ed16b4a1ed782edfbf /src
parentyuzu/bootmanager: unsigned -> u32 (diff)
downloadyuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.gz
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.xz
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp2
-rw-r--r--src/yuzu/bootmanager.h3
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 @@
26 26
27EmuThread::EmuThread(GRenderWindow* render_window) : render_window(render_window) {} 27EmuThread::EmuThread(GRenderWindow* render_window) : render_window(render_window) {}
28 28
29EmuThread::~EmuThread() = default;
30
29void EmuThread::run() { 31void EmuThread::run() {
30 render_window->MakeCurrent(); 32 render_window->MakeCurrent();
31 33
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 {
27enum class LoadCallbackStage; 27enum class LoadCallbackStage;
28} 28}
29 29
30class EmuThread : public QThread { 30class EmuThread final : public QThread {
31 Q_OBJECT 31 Q_OBJECT
32 32
33public: 33public:
34 explicit EmuThread(GRenderWindow* render_window); 34 explicit EmuThread(GRenderWindow* render_window);
35 ~EmuThread() override;
35 36
36 /** 37 /**
37 * Start emulation (on new thread) 38 * Start emulation (on new thread)