Use std::move where appropriate.

This commit is contained in:
Subv 2016-12-08 11:06:19 -05:00
parent c93c5a72bb
commit f9bcf89510
12 changed files with 187 additions and 177 deletions

View file

@ -87,12 +87,7 @@ static void GetServiceHandle(Service::Interface* self) {
if (it != Service::g_srv_services.end()) {
auto client_port = it->second;
// Note: Threads do not wait for the server endpoint to call
// AcceptSession before returning from this call.
// Connect to the port and retrieve the client endpoint of the connection Session.
auto client_session = client_port->Connect();
res = client_session.Code();
if (client_session.Succeeded()) {