Skip to content

Commit

Permalink
revert string
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaka Kondo <[email protected]>
  • Loading branch information
youtalk committed Dec 18, 2024
1 parent 8ca50d1 commit 01a3681
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/autoware_geography_utils/src/height.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <map>
#include <stdexcept>
#include <string>
#include <string_view>
#include <utility>

namespace autoware::geography_utils
Expand All @@ -45,7 +44,7 @@ double convert_height(
if (source_vertical_datum == target_vertical_datum) {
return height;
}
static const std::map<std::pair<std::string_view, std::string_view>, HeightConversionFunction>
static const std::map<std::pair<std::string, std::string>, HeightConversionFunction>
conversion_map{
{{"WGS84", "EGM2008"}, convert_wgs84_to_egm2008},
{{"EGM2008", "WGS84"}, convert_egm2008_to_wgs84},
Expand Down

0 comments on commit 01a3681

Please sign in to comment.