Skip to content

Commit 4079ced

Browse files
youtalkxmfcx
authored andcommitted
revert string
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
1 parent 70ed42c commit 4079ced

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

common/autoware_geography_utils/src/height.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <map>
1919
#include <stdexcept>
2020
#include <string>
21-
#include <string_view>
2221
#include <utility>
2322

2423
namespace autoware::geography_utils
@@ -45,7 +44,7 @@ double convert_height(
4544
if (source_vertical_datum == target_vertical_datum) {
4645
return height;
4746
}
48-
static const std::map<std::pair<std::string_view, std::string_view>, HeightConversionFunction>
47+
static const std::map<std::pair<std::string, std::string>, HeightConversionFunction>
4948
conversion_map{
5049
{{"WGS84", "EGM2008"}, convert_wgs84_to_egm2008},
5150
{{"EGM2008", "WGS84"}, convert_egm2008_to_wgs84},

0 commit comments

Comments
 (0)