Skip to content

Commit

Permalink
Fixing deprecated subscriber callback warnings (ros2#852)
Browse files Browse the repository at this point in the history
Signed-off-by: Abrar Rahman Protyasha <abrar@openrobotics.org>
  • Loading branch information
Abrar Rahman Protyasha authored Aug 24, 2021
1 parent 40e615a commit 4b71b14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class PlaySrvsTest : public RosBag2PlayTestFixture
});
}

void topic_callback(const test_msgs::msg::BasicTypes::SharedPtr /* msg */)
void topic_callback(const test_msgs::msg::BasicTypes::ConstSharedPtr /* msg */)
{
{
std::lock_guard<std::mutex> lk(got_msg_mutex_);
Expand Down

0 comments on commit 4b71b14

Please sign in to comment.