From 4079cedc24d64aa4b77fdc15a8d22908a504e2ce Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Wed, 18 Dec 2024 11:18:47 +0900 Subject: [PATCH] revert string Signed-off-by: Yutaka Kondo --- common/autoware_geography_utils/src/height.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/autoware_geography_utils/src/height.cpp b/common/autoware_geography_utils/src/height.cpp index b0cd615c0d..3c8b8d62e6 100644 --- a/common/autoware_geography_utils/src/height.cpp +++ b/common/autoware_geography_utils/src/height.cpp @@ -18,7 +18,6 @@ #include #include #include -#include #include namespace autoware::geography_utils @@ -45,7 +44,7 @@ double convert_height( if (source_vertical_datum == target_vertical_datum) { return height; } - static const std::map, HeightConversionFunction> + static const std::map, HeightConversionFunction> conversion_map{ {{"WGS84", "EGM2008"}, convert_wgs84_to_egm2008}, {{"EGM2008", "WGS84"}, convert_egm2008_to_wgs84},