Kernel/Sessions: Remove the ClientSession::Create function.
It is not meant to be used by anything other than CreateSessionPair.
This commit is contained in:
1 parent
ce5bc477ca
commit
37347bfa38
3 files changed
+3
-16
No files matched your search
@@ -25,14 +25,6 @@ ClientSession::~ClientSession() {
|
||||
parent->client = nullptr;
|
||||
}
|
||||
|
||||
ResultVal<SharedPtr<ClientSession>> ClientSession::Create(std::string name) {
|
||||
SharedPtr<ClientSession> client_session(new ClientSession);
|
||||
|
||||
client_session->name = std::move(name);
|
||||
client_session->parent = nullptr;
|
||||
return MakeResult<SharedPtr<ClientSession>>(std::move(client_session));
|
||||
}
|
||||
|
||||
ResultCode ClientSession::SendSyncRequest() {
|
||||
// Signal the server session that new data is available
|
||||
if (parent->server)
|
||||
|
||||
Reference in new issue
Block a user