diff options
author | Lioncash <mathew1800@gmail.com> | 2014-08-17 23:03:22 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-08-17 23:12:20 -0400 |
commit | 98fa3f7cba22997aef8ec4d121584c2488389c38 (patch) | |
tree | 40585fc835fa8fc27882923a4439d88e7ae171de /src/core/hle/service/srv.h | |
parent | 68c81f28d947193d050cb04bbcfd42b6ef1307f3 (diff) |
Core: Alter the kernel string functions to use std::string instead of const char*.
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
Diffstat (limited to 'src/core/hle/service/srv.h')
-rw-r--r-- | src/core/hle/service/srv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/srv.h b/src/core/hle/service/srv.h index 81109a2a..9451472d 100644 --- a/src/core/hle/service/srv.h +++ b/src/core/hle/service/srv.h @@ -22,7 +22,7 @@ public: * Gets the string name used by CTROS for the service * @return Port name of service */ - const char *GetPortName() const { + std::string GetPortName() const { return "srv:"; } |