We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70ed42c commit 4079cedCopy full SHA for 4079ced
common/autoware_geography_utils/src/height.cpp
@@ -18,7 +18,6 @@
18
#include <map>
19
#include <stdexcept>
20
#include <string>
21
-#include <string_view>
22
#include <utility>
23
24
namespace autoware::geography_utils
@@ -45,7 +44,7 @@ double convert_height(
45
44
if (source_vertical_datum == target_vertical_datum) {
46
return height;
47
}
48
- static const std::map<std::pair<std::string_view, std::string_view>, HeightConversionFunction>
+ static const std::map<std::pair<std::string, std::string>, HeightConversionFunction>
49
conversion_map{
50
{{"WGS84", "EGM2008"}, convert_wgs84_to_egm2008},
51
{{"EGM2008", "WGS84"}, convert_egm2008_to_wgs84},
0 commit comments