diff --git a/RoadLogicSuite/Internal/Utils/converter_utils_test.cpp b/RoadLogicSuite/Internal/Utils/converter_utils_test.cpp index 431aaec99540466ce1e1b7934e0123868567466d..dcc8c974d56906716201f38f1f7fc1954c5f5a94 100644 --- a/RoadLogicSuite/Internal/Utils/converter_utils_test.cpp +++ b/RoadLogicSuite/Internal/Utils/converter_utils_test.cpp @@ -29,7 +29,7 @@ road_logic_suite::types::LaneSection CreateSectionWithSingleRightLaneWithConstan road_logic_suite::types::LaneSection section{}; road_logic_suite::types::Lane right_lane{}; road_logic_suite::types::Poly3 constant_width(4, 0, 0, 0); - auto s0{0.0_m}; + const auto s0{0.0_m}; right_lane.width_polys.Insert(s0, constant_width); right_lane.id = -1; section.right_lanes.push_back(right_lane); @@ -39,7 +39,7 @@ road_logic_suite::types::LaneSection CreateSectionWithSingleRightLaneWithConstan TEST(ConverterUtilsTest, GivenALaneSectionWithASingleRightLane_WhenGettingTheBoundaryOffsetForThatLane_ThenTheReturnedOffsetShouldBeCorrect) { - auto s{0.0_m}; + const auto s{0.0_m}; const auto section = CreateSectionWithSingleRightLaneWithConstantWidth(); const auto lane_id = -1; @@ -51,7 +51,7 @@ TEST(ConverterUtilsTest, TEST(ConverterUtilsTest, GivenALaneSectionWithASingleRightLane_WhenGettingTheLaneCenterOffset_ThenTheReturnedOffsetShouldBeCorrect) { - auto s{0.0_m}; + const auto s{0.0_m}; const auto section = CreateSectionWithSingleRightLaneWithConstantWidth(); const auto lane_id = -1;