Skip to content

Commit

Permalink
Build fixes (forgot std::move)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakubach committed Nov 13, 2024
1 parent d292774 commit 96b2730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_docking/opennav_docking/src/docking_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 96b2730

Please sign in to comment.