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
					
				| @ -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
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Lioncash
						Lioncash