mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-29 12:59:37 -04:00
Merge pull request #2571 from lioncash/ref
kernel/process: Make Create()'s name parameter be taken by value
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user