summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/session.h
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/session.h
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/session.h')
-rw-r--r--src/core/hle/kernel/session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h
index 1788e4375..7cc9332c9 100644
--- a/src/core/hle/kernel/session.h
+++ b/src/core/hle/kernel/session.h
@@ -5,6 +5,7 @@
5#pragma once 5#pragma once
6 6
7#include "core/hle/kernel/kernel.h" 7#include "core/hle/kernel/kernel.h"
8#include "core/mem_map.h"
8 9
9namespace Kernel { 10namespace Kernel {
10 11
@@ -43,6 +44,9 @@ inline static u32* GetCommandBuffer(const int offset=0) {
43 */ 44 */
44class Session : public WaitObject { 45class Session : public WaitObject {
45public: 46public:
47 Session();
48 ~Session() override;
49
46 std::string GetTypeName() const override { return "Session"; } 50 std::string GetTypeName() const override { return "Session"; }
47 51
48 static const HandleType HANDLE_TYPE = HandleType::Session; 52 static const HandleType HANDLE_TYPE = HandleType::Session;