aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/service.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-09-06 13:30:27 -0400
committerGravatar Lioncash <mathew1800@gmail.com>2014-09-06 13:30:27 -0400
commitd30747efea01b61dba44abe50f2b7a9d8f9da3a5 (patch)
tree6989ba1e8ad0087d6c9874de151bdc5f1f42f96d /src/core/hle/service/service.h
parent5d95d038a0e5d203a568223da12b57c30d048a8c (diff)
core: Pass string by reference in FetchFromPortName and DeleteService
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r--src/core/hle/service/service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index cb1ecde3..c0e803bd 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -149,13 +149,13 @@ public:
void AddService(Interface* service);
/// Removes a service from the manager (does not delete it though)
- void DeleteService(std::string port_name);
+ void DeleteService(const std::string& port_name);
/// Get a Service Interface from its UID
Interface* FetchFromHandle(u32 uid);
/// Get a Service Interface from its port
- Interface* FetchFromPortName(std::string port_name);
+ Interface* FetchFromPortName(const std::string& port_name);
private: