diff options
Diffstat (limited to 'src/buildtool/system')
-rw-r--r-- | src/buildtool/system/system_command.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/system/system_command.hpp b/src/buildtool/system/system_command.hpp index 13655730..660d9202 100644 --- a/src/buildtool/system/system_command.hpp +++ b/src/buildtool/system/system_command.hpp @@ -119,9 +119,9 @@ class SystemCommand { if (auto const err = OpenFile(stderr_file)) { if (auto retval = ForkAndExecute( cmd, envp, cwd, fileno(out.get()), fileno(err.get()))) { - return ExecOutput{*retval, - std::move(stdout_file), - std::move(stderr_file)}; + return ExecOutput{.return_value = *retval, + .stdout_file = std::move(stdout_file), + .stderr_file = std::move(stderr_file)}; } } else { |