summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-10 00:47:34 +0200
committerLioncash <mathew1800@gmail.com>2019-06-10 00:47:37 +0200
commitfea65689559738203eb8f7782d0fcf230d09a40e (patch)
tree2a0820c6f40700ff173790679b435301137da9d8 /src/core/hle/kernel
parentMerge pull request #2564 from ReinUsesLisp/block-dim-x-fix (diff)
downloadyuzu-fea65689559738203eb8f7782d0fcf230d09a40e.tar
yuzu-fea65689559738203eb8f7782d0fcf230d09a40e.tar.gz
yuzu-fea65689559738203eb8f7782d0fcf230d09a40e.tar.bz2
yuzu-fea65689559738203eb8f7782d0fcf230d09a40e.tar.lz
yuzu-fea65689559738203eb8f7782d0fcf230d09a40e.tar.xz
yuzu-fea65689559738203eb8f7782d0fcf230d09a40e.tar.zst
yuzu-fea65689559738203eb8f7782d0fcf230d09a40e.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/process.cpp2
-rw-r--r--src/core/hle/kernel/process.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 0775a89fb..c3188b5eb 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 f027fafa3..3e8a4cc9b 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";