diff options
| author | 2015-01-31 22:56:59 -0200 | |
|---|---|---|
| committer | 2015-02-02 15:37:07 -0200 | |
| commit | 7725256f649719dcce2c50ea84e79d6199dd9a50 (patch) | |
| tree | d9266b5991cc7c6a2c9c6bc55f39dd9c71897d59 /src/core/hle/kernel/timer.cpp | |
| parent | Update boost external (diff) | |
| download | yuzu-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/timer.cpp')
| -rw-r--r-- | src/core/hle/kernel/timer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp index 90e5e64b3..7c3cdc0d0 100644 --- a/src/core/hle/kernel/timer.cpp +++ b/src/core/hle/kernel/timer.cpp | |||
| @@ -17,6 +17,9 @@ static int timer_callback_event_type = -1; | |||
| 17 | // us to simply use a pool index or similar. | 17 | // us to simply use a pool index or similar. |
| 18 | static Kernel::HandleTable timer_callback_handle_table; | 18 | static Kernel::HandleTable timer_callback_handle_table; |
| 19 | 19 | ||
| 20 | Timer::Timer() {} | ||
| 21 | Timer::~Timer() {} | ||
| 22 | |||
| 20 | ResultVal<SharedPtr<Timer>> Timer::Create(ResetType reset_type, std::string name) { | 23 | ResultVal<SharedPtr<Timer>> Timer::Create(ResetType reset_type, std::string name) { |
| 21 | SharedPtr<Timer> timer(new Timer); | 24 | SharedPtr<Timer> timer(new Timer); |
| 22 | // TOOD(yuriks): Don't create Handle (see Thread::Create()) | 25 | // TOOD(yuriks): Don't create Handle (see Thread::Create()) |