Merge pull request #2571 from lioncash/ref

kernel/process: Make Create()'s name parameter be taken by value
This commit is contained in:
Zach Hilman 2019-06-09 20:43:57 -04:00 committed by GitHub
commit 364932df3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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";