From 58615e3848a9cbf676da373a719743d416c851a2 Mon Sep 17 00:00:00 2001 From: satoshi-ota Date: Tue, 12 Mar 2024 09:55:52 +0900 Subject: [PATCH] fix(perception_online_evaluator): fix build error Signed-off-by: satoshi-ota --- .../test/test_perception_online_evaluator_node.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/evaluator/perception_online_evaluator/test/test_perception_online_evaluator_node.cpp b/evaluator/perception_online_evaluator/test/test_perception_online_evaluator_node.cpp index 1bfd27828c98e..16c46d0eecd92 100644 --- a/evaluator/perception_online_evaluator/test/test_perception_online_evaluator_node.cpp +++ b/evaluator/perception_online_evaluator/test/test_perception_online_evaluator_node.cpp @@ -79,7 +79,9 @@ class EvalTest : public ::testing::Test marker_sub_ = rclcpp::create_subscription( eval_node, "perception_online_evaluator/markers", 10, - [this]([[maybe_unused]] const MarkerArray::SharedPtr msg) { has_received_marker_ = true; }); + [this]([[maybe_unused]] const MarkerArray::ConstSharedPtr msg) { + has_received_marker_ = true; + }); uuid_ = generateUUID(); }