From d1e0a260b980f0ce1a8d6f1c5d99dd999f3f7a2c Mon Sep 17 00:00:00 2001 From: TaikiYamada4 Date: Mon, 28 Oct 2024 18:57:19 +0900 Subject: [PATCH] Removed redundant underscore again Signed-off-by: TaikiYamada4 --- .../test/src/test_missing_regulatory_elements.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/map/autoware_lanelet2_map_validator/test/src/test_missing_regulatory_elements.cpp b/map/autoware_lanelet2_map_validator/test/src/test_missing_regulatory_elements.cpp index 7ec9f85a..e8fe1cef 100644 --- a/map/autoware_lanelet2_map_validator/test/src/test_missing_regulatory_elements.cpp +++ b/map/autoware_lanelet2_map_validator/test/src/test_missing_regulatory_elements.cpp @@ -178,8 +178,8 @@ TEST_F(TestSuite, MissingRegulatoryElementOfTrafficLight) // NOLINT for gtest LaneletMapPtr test_map_ptr = lanelet::utils::createMap({tl_no_reg_elem}); addTestMap(test_map_ptr); - lanelet::validation::MissingRegulatoryElementsForTrafficLightsValidator checker_; - const auto & issues = checker_(*test_map_ptr); + lanelet::validation::MissingRegulatoryElementsForTrafficLightsValidator checker; + const auto & issues = checker(*test_map_ptr); uint8_t expected_num_issues = 1; static constexpr const char * expected_message = @@ -206,7 +206,7 @@ TEST_F(TestSuite, MissingRegulatoryElementOfCrosswalk) // NOLINT for gtest addTestMap(test_map_ptr); lanelet::validation::MissingRegulatoryElementsForCrosswalksValidator checker; - const auto & issues = checker_(*test_map_ptr); + const auto & issues = checker(*test_map_ptr); uint8_t expected_num_issues = 1; static constexpr const char * expected_message = @@ -229,8 +229,8 @@ TEST_F(TestSuite, MissingRegulatoryElementOfStopLine) // NOLINT for gtest LaneletMapPtr test_map_ptr = lanelet::utils::createMap({sl_no_reg_elem}); addTestMap(test_map_ptr); - lanelet::validation::MissingRegulatoryElementsForStopLinesValidator checker_; - const auto & issues = checker_(*test_map_ptr); + lanelet::validation::MissingRegulatoryElementsForStopLinesValidator checker; + const auto & issues = checker(*test_map_ptr); uint8_t expected_num_issues = 1; static constexpr const char * expected_message =