diff --git a/engine/utils/command_executor.h b/engine/utils/command_executor.h index 87460e2c1..521928eba 100644 --- a/engine/utils/command_executor.h +++ b/engine/utils/command_executor.h @@ -20,7 +20,7 @@ class CommandExecutor { if (!pipe) { throw std::runtime_error("popen() failed!"); } - m_pipe = std::unique_ptr(pipe, PCLOSE); + m_pipe = std::unique_ptr(pipe, PCLOSE); } CommandExecutor(const CommandExecutor&) = delete; @@ -45,5 +45,5 @@ class CommandExecutor { } private: - std::unique_ptr m_pipe{nullptr, PCLOSE}; + std::unique_ptr m_pipe{nullptr, PCLOSE}; };