Skip to content

Commit

Permalink
fix: replace deprecated MessageUniquePtr to std::unique_ptr<MessageT>
Browse files Browse the repository at this point in the history
Signed-off-by: homalozoa <nx.tardis@gmail.com>
  • Loading branch information
homalozoa committed Oct 24, 2024
1 parent bb392ee commit c70323f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class DiagnosedPublisher : public TopicDiagnostic
* The timestamp to be used by the TimeStampStatus class will be
* extracted from message.header.stamp.
*/
virtual void publish(typename PublisherT::MessageUniquePtr message)
virtual void publish(std::unique_ptr<MessageT> message)
{
tick(message->header.stamp);
publisher_->publish(std::move(message));
Expand Down

0 comments on commit c70323f

Please sign in to comment.