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.
This commit is contained in:
Lioncash 2019-03-05 18:24:00 -05:00
parent cc92c054ec
commit 7526b6fce3

View file

@ -36,14 +36,15 @@ public:
ResultCode SendSyncRequest(SharedPtr<Thread> thread); 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. /// The parent session, which links to the server endpoint.
std::shared_ptr<Session> parent; std::shared_ptr<Session> parent;
private: /// Name of the client session (optional)
explicit ClientSession(KernelCore& kernel); std::string name;
~ClientSession() override;
}; };
} // namespace Kernel } // namespace Kernel