Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
  • Loading branch information
Karsten1987 committed Apr 22, 2020
1 parent 91ca9a5 commit 0560228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Publisher : public PublisherBase
void
publish(const SerializedMessage & serialized_msg)
{
return this->do_serialized_publish(serialized_msg.get_rcl_serialized_message());
return this->do_serialized_publish(&serialized_msg.get_rcl_serialized_message());
}

/// Publish an instance of a LoanedMessage.
Expand Down

0 comments on commit 0560228

Please sign in to comment.