forked from suyu/suyu
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:
parent
cc92c054ec
commit
7526b6fce3
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue