diff options
author | bunnei <bunneidev@gmail.com> | 2014-08-19 03:42:44 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-08-19 03:42:44 +0200 |
commit | e9c5c563a500ac19ecb2f580ce065a9010dedac9 (patch) | |
tree | 25155672077a81a5f1b66e738826a7b850c55e82 /src/core/hle/kernel/mutex.cpp | |
parent | Merge pull request #45 from bunnei/master (diff) | |
parent | Core: Alter the kernel string functions to use std::string instead of const char*. (diff) | |
download | yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.gz yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.bz2 yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.lz yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.xz yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.zst yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/mutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 055f503f9..5d7d65dd9 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -15,8 +15,8 @@ namespace Kernel { class Mutex : public Object { public: - const char* GetTypeName() const { return "Mutex"; } - const char* GetName() const { return name.c_str(); } + std::string GetTypeName() const { return "Mutex"; } + std::string GetName() const { return name; } static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Mutex; } Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Mutex; } |