From d2a10dff026bf8f642622189bd7e7f6710cc3054 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) Signed-off-by: Jakubach --- 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(); } }