diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-19 05:55:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 05:55:55 +0200 |
commit | 85421f34062bd0303f97cc9d01fa838709231326 (patch) | |
tree | c953a283bcf0f83c83b282bfea2da8080f16d556 /src/core/hle/kernel/server_session.cpp | |
parent | Merge pull request #691 from lioncash/guard (diff) | |
parent | core/memory, core/hle/kernel: Use std::move where applicable (diff) | |
download | yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.gz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.bz2 yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.lz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.xz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.zst yuzu-85421f34062bd0303f97cc9d01fa838709231326.zip |
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r-- | src/core/hle/kernel/server_session.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index 0d5cba1d9..19d17af4f 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -3,6 +3,7 @@ // Refer to the license.txt file included. #include <tuple> +#include <utility> #include "core/core.h" #include "core/hle/ipc_helpers.h" @@ -158,7 +159,7 @@ ServerSession::SessionPair ServerSession::CreateSessionPair(const std::string& n std::shared_ptr<Session> parent(new Session); parent->client = client_session.get(); parent->server = server_session.get(); - parent->port = port; + parent->port = std::move(port); client_session->parent = parent; server_session->parent = parent; |