From c11211bdc4c275552cce7031df5beffbc6ad5ba6 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Thu, 23 Jan 2025 09:01:07 +0100 Subject: [PATCH] remove passing cm arg for clang --- controller_manager/src/ros2_control_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller_manager/src/ros2_control_node.cpp b/controller_manager/src/ros2_control_node.cpp index 84636ced3d..70dcb9b25e 100644 --- a/controller_manager/src/ros2_control_node.cpp +++ b/controller_manager/src/ros2_control_node.cpp @@ -117,7 +117,7 @@ int main(int argc, char ** argv) thread_priority); cm_thread = std::thread( - [&cm, thread_priority, use_sim_time]() + [thread_priority, use_sim_time]() { if (!realtime_tools::configure_sched_fifo(thread_priority)) {