summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-05 18:24:00 -0500
committerLioncash <mathew1800@gmail.com>2019-03-05 20:10:03 -0500
commit7526b6fce39c555b1fdb4535972ab078b4edfb32 (patch)
tree4771e15544c727027ae38f0efe6426225f1a7bf0
parentcc92c054ec825c7b40518fdc90a0c9a307567303 (diff)
kernel/client_session: Make data members private
These can be made private, as they aren't accessed in contexts that require them to be public.
-rw-r--r--src/core/hle/kernel/client_session.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h
index 4c18de69c..b1f39aad7 100644
--- a/src/core/hle/kernel/client_session.h
+++ b/src/core/hle/kernel/client_session.h
@@ -36,14 +36,15 @@ public:
ResultCode SendSyncRequest(SharedPtr<Thread> thread);
- std::string name; ///< Name of client port (optional)
+private:
+ explicit ClientSession(KernelCore& kernel);
+ ~ClientSession() override;
/// The parent session, which links to the server endpoint.
std::shared_ptr<Session> parent;
-private:
- explicit ClientSession(KernelCore& kernel);
- ~ClientSession() override;
+ /// Name of the client session (optional)
+ std::string name;
};
} // namespace Kernel