summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/event.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-01-31 22:56:59 -0200
committerGravatar Yuri Kunde Schlesner2015-02-02 15:37:07 -0200
commit7725256f649719dcce2c50ea84e79d6199dd9a50 (patch)
treed9266b5991cc7c6a2c9c6bc55f39dd9c71897d59 /src/core/hle/kernel/event.cpp
parentUpdate boost external (diff)
downloadyuzu-7725256f649719dcce2c50ea84e79d6199dd9a50.tar.gz
yuzu-7725256f649719dcce2c50ea84e79d6199dd9a50.tar.xz
yuzu-7725256f649719dcce2c50ea84e79d6199dd9a50.zip
Explicitly instantiate constructors/destructors for Kernel objects
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
Diffstat (limited to 'src/core/hle/kernel/event.cpp')
-rw-r--r--src/core/hle/kernel/event.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp
index d9ad40c6a..3796fbb74 100644
--- a/src/core/hle/kernel/event.cpp
+++ b/src/core/hle/kernel/event.cpp
@@ -14,6 +14,9 @@
14 14
15namespace Kernel { 15namespace Kernel {
16 16
17Event::Event() {}
18Event::~Event() {}
19
17ResultVal<SharedPtr<Event>> Event::Create(ResetType reset_type, std::string name) { 20ResultVal<SharedPtr<Event>> Event::Create(ResetType reset_type, std::string name) {
18 SharedPtr<Event> evt(new Event); 21 SharedPtr<Event> evt(new Event);
19 // TOOD(yuriks): Don't create Handle (see Thread::Create()) 22 // TOOD(yuriks): Don't create Handle (see Thread::Create())