mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
Kernel/Sessions: Remove the ClientSession::Create function.
It is not meant to be used by anything other than CreateSessionPair.
This commit is contained in:
parent
f98eb7d315
commit
8e4b05c22a
3 changed files with 3 additions and 16 deletions
|
@ -74,7 +74,9 @@ ServerSession::SessionPair ServerSession::CreateSessionPair(
|
|||
|
||||
auto server_session =
|
||||
ServerSession::Create(name + "_Server", std::move(hle_handler)).MoveFrom();
|
||||
auto client_session = ClientSession::Create(name + "_Client").MoveFrom();
|
||||
|
||||
SharedPtr<ClientSession> client_session(new ClientSession);
|
||||
client_session->name = name + "_Client";
|
||||
|
||||
std::shared_ptr<Session> parent(new Session);
|
||||
parent->client = client_session.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue