summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/session.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-26 00:17:08 +0100
committerbunnei <bunneidev@gmail.com>2019-11-26 00:17:49 +0100
commitf6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6 (patch)
tree2514317ed0d0ada5de3a219bdd1f5baa635760dc /src/core/hle/kernel/session.h
parentMerge pull request #3160 from DarkLordZach/opt-ea-clang-fmt (diff)
downloadyuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.tar
yuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.tar.gz
yuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.tar.bz2
yuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.tar.lz
yuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.tar.xz
yuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.tar.zst
yuzu-f6b9b7910eb59cdc1e3aea9a1f1cb3d1cf8ae7f6.zip
Diffstat (limited to 'src/core/hle/kernel/session.h')
-rw-r--r--src/core/hle/kernel/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h
index ea956813b..94395f9f5 100644
--- a/src/core/hle/kernel/session.h
+++ b/src/core/hle/kernel/session.h
@@ -20,8 +20,8 @@ class ServerSession;
*/
class Session final {
public:
- ClientSession* client = nullptr; ///< The client endpoint of the session.
- ServerSession* server = nullptr; ///< The server endpoint of the session.
+ std::weak_ptr<ClientSession> client; ///< The client endpoint of the session.
+ std::weak_ptr<ServerSession> server; ///< The server endpoint of the session.
std::shared_ptr<ClientPort> port; ///< The port that this session is associated with (optional).
};
} // namespace Kernel