From e5711d4a2a5800e70444ca62329a998141b72093 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Thu, 6 Mar 2025 19:09:24 +0530 Subject: [PATCH] fix: ignored-attributes warning in CommandExecutor --- engine/utils/command_executor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}; };