From 1615f24ad822a4781ed6940e1485fa1e5c667596 Mon Sep 17 00:00:00 2001 From: Serafadam Date: Thu, 9 Jan 2025 14:20:56 +0000 Subject: [PATCH] fix gcc warning --- depthai_bridge/src/TFPublisher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depthai_bridge/src/TFPublisher.cpp b/depthai_bridge/src/TFPublisher.cpp index 8e52744e..c9645abc 100644 --- a/depthai_bridge/src/TFPublisher.cpp +++ b/depthai_bridge/src/TFPublisher.cpp @@ -242,7 +242,7 @@ std::string TFPublisher::getURDF() { RCLCPP_DEBUG(logger, "Xacro command: %s", cmd.c_str()); std::array buffer; std::string result; - std::unique_ptr pipe(popen(cmd.c_str(), "r"), pclose); + std::unique_ptr pipe(popen(cmd.c_str(), "r"), pclose); if(!pipe) { throw std::runtime_error("popen() failed!"); }