diff options
author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-06-10 02:43:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 02:43:57 +0200 |
commit | 364932df3a4fd6b70e6d67c45f016ef0450e77b2 (patch) | |
tree | dfe4265c1ef1cb0c87ce27bb7cd259f8f654223c /src | |
parent | Merge pull request #2570 from lioncash/svc (diff) | |
parent | kernel/process: Make Create()'s name parameter be taken by value (diff) | |
download | yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.tar yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.tar.gz yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.tar.bz2 yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.tar.lz yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.tar.xz yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.tar.zst yuzu-364932df3a4fd6b70e6d67c45f016ef0450e77b2.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/kernel/process.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 63a3707b2..2b81a8d4f 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -48,7 +48,7 @@ void SetupMainThread(Process& owner_process, KernelCore& kernel, u32 priority) { } } // Anonymous namespace -SharedPtr<Process> Process::Create(Core::System& system, std::string&& name) { +SharedPtr<Process> Process::Create(Core::System& system, std::string name) { auto& kernel = system.Kernel(); SharedPtr<Process> process(new Process(system)); diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 9c20eb7f8..29e016983 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -75,7 +75,7 @@ public: static constexpr std::size_t RANDOM_ENTROPY_SIZE = 4; - static SharedPtr<Process> Create(Core::System& system, std::string&& name); + static SharedPtr<Process> Create(Core::System& system, std::string name); std::string GetTypeName() const override { return "Process"; |