diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-31 22:56:59 -0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-02-02 15:37:07 -0200 |
commit | 7725256f649719dcce2c50ea84e79d6199dd9a50 (patch) | |
tree | d9266b5991cc7c6a2c9c6bc55f39dd9c71897d59 /src/core/hle/kernel/semaphore.cpp | |
parent | 12232e0b08152a9cc39bf83c7214673257d7466f (diff) |
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/semaphore.cpp')
-rw-r--r-- | src/core/hle/kernel/semaphore.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/semaphore.cpp b/src/core/hle/kernel/semaphore.cpp index a9e406ef..234d60d8 100644 --- a/src/core/hle/kernel/semaphore.cpp +++ b/src/core/hle/kernel/semaphore.cpp @@ -10,6 +10,9 @@ namespace Kernel { +Semaphore::Semaphore() {} +Semaphore::~Semaphore() {} + ResultVal<SharedPtr<Semaphore>> Semaphore::Create(s32 initial_count, s32 max_count, std::string name) { |