core: Pass string by reference in FetchFromPortName and DeleteService

This commit is contained in:
Lioncash 2014-09-06 13:30:27 -04:00
parent 5d95d038a0
commit d30747efea
2 changed files with 4 additions and 4 deletions

View file

@ -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: