Skip to content

Commit

Permalink
Fix deprecated sub callbacks in test_security
Browse files Browse the repository at this point in the history
Signed-off-by: Abrar Rahman Protyasha <[email protected]>
  • Loading branch information
Abrar Rahman Protyasha committed Aug 20, 2021
1 parent 1f68dea commit 48e0323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_security/test/test_secure_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ rclcpp::SubscriptionBase::SharedPtr attempt_subscribe(
rclcpp::executors::SingleThreadedExecutor & exec)
{
auto subscription_callback =
[&sub_callback_called, &exec](const typename T::SharedPtr) -> void
[&sub_callback_called, &exec](const typename T::ConstSharedPtr) -> void
{
printf("***SUB_CALLBACK***\n");
sub_callback_called = true;
Expand Down

0 comments on commit 48e0323

Please sign in to comment.