Skip to content

Commit

Permalink
lint: reformat code
Browse files Browse the repository at this point in the history
Signed-off-by: homalozoa <[email protected]>
  • Loading branch information
homalozoa committed Oct 29, 2024
1 parent 1ec1f91 commit d97e932
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion diagnostic_updater/include/diagnostic_updater/publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ class DiagnosedPublisher : public TopicDiagnostic
* The timestamp to be used by the TimeStampStatus class will be
* extracted from message.header.stamp.
*/
virtual void publish(std::unique_ptr<typename PublisherT::ROSMessageType, typename PublisherT::ROSMessageTypeDeleter> message)
virtual void publish(
std::unique_ptr<typename PublisherT::ROSMessageType,
typename PublisherT::ROSMessageTypeDeleter> message)
{
tick(message->header.stamp);
publisher_->publish(std::move(message));
Expand Down

0 comments on commit d97e932

Please sign in to comment.