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/thread.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/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 3c6669ca2..9ad53b8cf 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -40,8 +40,8 @@ static Thread* current_thread; | |||
| 40 | static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup | 40 | static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup |
| 41 | static u32 next_thread_id; ///< The next available thread id | 41 | static u32 next_thread_id; ///< The next available thread id |
| 42 | 42 | ||
| 43 | Thread::Thread() { | 43 | Thread::Thread() {} |
| 44 | } | 44 | Thread::~Thread() {} |
| 45 | 45 | ||
| 46 | Thread* GetCurrentThread() { | 46 | Thread* GetCurrentThread() { |
| 47 | return current_thread; | 47 | return current_thread; |