Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
  • Loading branch information
ivanpauno committed Nov 30, 2021
1 parent da80c56 commit c9d9333
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST_F(RecordIntegrationTestFixture, published_messages_from_two_topics_ignore_l
{
auto node = std::make_shared<rclcpp::Node>("test_string_msg_listener_node");
auto string_msgs_sub = node->create_subscription<test_msgs::msg::Strings>(
"/string_topic", 10, [](test_msgs::msg::Strings::SharedPtr) {});
"/string_topic", 10, [](test_msgs::msg::Strings::ConstSharedPtr) {});

auto array_message = get_messages_arrays()[0];
array_message->float32_values = {{40.0f, 2.0f, 0.0f}};
Expand Down

0 comments on commit c9d9333

Please sign in to comment.