From 46458e72846f2611f738e41ece6336472f5288d5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 18 Jul 2018 19:02:47 -0400 Subject: core/memory, core/hle/kernel: Use std::move where applicable Avoids pointless copies --- src/core/hle/kernel/hle_ipc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/kernel/hle_ipc.h') diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index c6eca7404..88f93ad22 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -59,12 +59,12 @@ public: * associated ServerSession. * @param server_session ServerSession associated with the connection. */ - void ClientDisconnected(SharedPtr server_session); + void ClientDisconnected(const SharedPtr& server_session); protected: /// List of sessions that are connected to this handler. /// A ServerSession whose server endpoint is an HLE implementation is kept alive by this list - // for the duration of the connection. + /// for the duration of the connection. std::vector> connected_sessions; }; -- cgit v1.2.3