diff options
author | Subv <subv2112@gmail.com> | 2016-12-05 17:02:08 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-12-05 17:02:08 +0100 |
commit | dd8887c8cfbb6d3010dde240278a3d4018c5dd85 (patch) | |
tree | 9990a463d5daccdab41ae9c90a5c698aed0d4795 /src/core/hle/kernel/server_session.cpp | |
parent | Declare empty ServerSession and ClientSession constructors as default. (diff) | |
download | yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.tar yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.tar.gz yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.tar.bz2 yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.tar.lz yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.tar.xz yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.tar.zst yuzu-dd8887c8cfbb6d3010dde240278a3d4018c5dd85.zip |
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r-- | src/core/hle/kernel/server_session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index be334efd7..3782cb493 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -47,10 +47,10 @@ ResultCode ServerSession::HandleSyncRequest() { } std::tuple<SharedPtr<ServerSession>, SharedPtr<ClientSession>> ServerSession::CreateSessionPair(const std::string& name, std::shared_ptr<Service::SessionRequestHandler> hle_handler) { - auto server_session = ServerSession::Create(name + "Server", hle_handler).MoveFrom(); - auto client_session = ClientSession::Create(server_session, name + "Client").MoveFrom(); + auto server_session = ServerSession::Create(name + "_Server", hle_handler).MoveFrom(); + auto client_session = ClientSession::Create(server_session, name + "_Client").MoveFrom(); - return std::make_tuple(server_session, client_session); + return std::make_tuple(std::move(server_session), std::move(client_session)); } } |