aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/client_session.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-24 20:15:51 -0500
committerGitHub <noreply@github.com>2019-11-24 20:15:51 -0500
commit9046d4a5485452802b756869b7d27056ba9ea9d7 (patch)
tree2d704d912e9054fb232b73ad69f1bc3966ed97a5 /src/core/hle/kernel/client_session.h
parentb03242067d9ba9e3ad9804d2ccfe596f45da6ba6 (diff)
kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
Diffstat (limited to 'src/core/hle/kernel/client_session.h')
-rw-r--r--src/core/hle/kernel/client_session.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h
index 09cdff588..5ae41db29 100644
--- a/src/core/hle/kernel/client_session.h
+++ b/src/core/hle/kernel/client_session.h
@@ -19,6 +19,9 @@ class Thread;
class ClientSession final : public Object {
public:
+ explicit ClientSession(KernelCore& kernel);
+ ~ClientSession() override;
+
friend class ServerSession;
std::string GetTypeName() const override {
@@ -34,12 +37,9 @@ public:
return HANDLE_TYPE;
}
- ResultCode SendSyncRequest(SharedPtr<Thread> thread);
+ ResultCode SendSyncRequest(Thread* thread);
private:
- explicit ClientSession(KernelCore& kernel);
- ~ClientSession() override;
-
/// The parent session, which links to the server endpoint.
std::shared_ptr<Session> parent;