Skip to content

Commit

Permalink
Build fixes (forgot std::move)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakubach <[email protected]>
  • Loading branch information
Jakubach committed Nov 13, 2024
1 parent 1ba4981 commit d2a10df
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 d2a10df

Please sign in to comment.