[*] Linux build regression / AuProcesses API change

This commit is contained in:
Reece Wilson 2023-08-21 17:48:42 +01:00
parent 5cc811be19
commit e8f445c463
2 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ namespace Aurora::Processes
}
ProcessImpl::ProcessImpl(const StartupParmaters &params) : startup_(params)
ProcessImpl::ProcessImpl(StartupParameters &&params) : startup_(AuMove(params))
{
AuIOFS::NormalizePath(this->startup_.process, this->startup_.process);
if (this->startup_.workingDirectory)
@ -465,9 +465,9 @@ namespace Aurora::Processes
return true;
}
AUKN_SYM IProcess *SpawnNew(const StartupParmaters &params)
AUKN_SYM IProcess *SpawnNew(StartupParameters &&params)
{
auto ret = _new ProcessImpl(params);
auto ret = _new ProcessImpl(AuMove(params));
if (!ret)
{

View File

@ -27,7 +27,7 @@ namespace Aurora::Processes
struct ProcessImpl : IProcess
{
ProcessImpl(const StartupParmaters &params);
ProcessImpl(StartupParameters &&params);
~ProcessImpl();
void ShutdownPipes();
@ -74,7 +74,7 @@ namespace Aurora::Processes
AuThreadPrimitives::EventShared_t finished_;
StartupParmaters startup_;
StartupParameters startup_;
ESpawnType type_;
AuList<const char *> cargs_;