summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-09-06 20:06:37 +0200
committerbunnei <bunneidev@gmail.com>2014-09-06 20:06:37 +0200
commita1300865873541e532545088d2e65ec83ac69335 (patch)
tree02ff446be648599dcabe45958f9f9d4a1c0d911d /src/core/hle/service/service.h
parentMerge pull request #94 from lioncash/misc (diff)
parentcore: Pass string by reference in FetchFromPortName and DeleteService (diff)
downloadyuzu-a1300865873541e532545088d2e65ec83ac69335.tar
yuzu-a1300865873541e532545088d2e65ec83ac69335.tar.gz
yuzu-a1300865873541e532545088d2e65ec83ac69335.tar.bz2
yuzu-a1300865873541e532545088d2e65ec83ac69335.tar.lz
yuzu-a1300865873541e532545088d2e65ec83ac69335.tar.xz
yuzu-a1300865873541e532545088d2e65ec83ac69335.tar.zst
yuzu-a1300865873541e532545088d2e65ec83ac69335.zip
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 cb1ecde31..c0e803bda 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: