summaryrefslogtreecommitdiff
path: root/src/core/hle/service/srv.cpp
diff options
context:
space:
mode:
authorGravatar Subv2016-12-08 11:06:19 -0500
committerGravatar Subv2016-12-08 11:06:19 -0500
commitf9bcf895103e5a6d99f5fe755bcac92b7781fd38 (patch)
treeaebba4794da82175756a09e7d4d1de8d835bf412 /src/core/hle/service/srv.cpp
parentReturn an error code when connecting to a saturated port. (diff)
downloadyuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.gz
yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.tar.xz
yuzu-f9bcf895103e5a6d99f5fe755bcac92b7781fd38.zip
Use std::move where appropriate.
Diffstat (limited to 'src/core/hle/service/srv.cpp')
-rw-r--r--src/core/hle/service/srv.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index ff7a84347..37420201b 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -87,12 +87,7 @@ static void GetServiceHandle(Service::Interface* self) {
87 if (it != Service::g_srv_services.end()) { 87 if (it != Service::g_srv_services.end()) {
88 auto client_port = it->second; 88 auto client_port = it->second;
89 89
90 // Note: Threads do not wait for the server endpoint to call
91 // AcceptSession before returning from this call.
92
93 // Connect to the port and retrieve the client endpoint of the connection Session.
94 auto client_session = client_port->Connect(); 90 auto client_session = client_port->Connect();
95
96 res = client_session.Code(); 91 res = client_session.Code();
97 92
98 if (client_session.Succeeded()) { 93 if (client_session.Succeeded()) {