From 96b27305f8212205afb60ae2b7eaf7594e2ab843 Mon Sep 17 00:00:00 2001 From: Jakubach Date: Wed, 13 Nov 2024 19:38:06 +0100 Subject: [PATCH] Build fixes (forgot std::move) --- nav2_docking/opennav_docking/src/docking_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_docking/opennav_docking/src/docking_server.cpp b/nav2_docking/opennav_docking/src/docking_server.cpp index 1cadbf3c07..07d6a01729 100644 --- a/nav2_docking/opennav_docking/src/docking_server.cpp +++ b/nav2_docking/opennav_docking/src/docking_server.cpp @@ -436,7 +436,7 @@ void DockingServer::rotateToDock(const geometry_msgs::msg::PoseStamped & dock_po } command->header.stamp = now(); command = controller_->rotateToTarget(angle_to_goal); - vel_publisher_->publish(command); + vel_publisher_->publish(std::move(command)); loop_rate.sleep(); } }