diff --git a/include/engine/geospatial_query.hpp b/include/engine/geospatial_query.hpp index a80ef2060..2fce9c0c9 100644 --- a/include/engine/geospatial_query.hpp +++ b/include/engine/geospatial_query.hpp @@ -64,7 +64,7 @@ template class GeospatialQuery CheckSegmentDistance(input_coordinate, segment, max_distance); if (invalidDistance) { - return std::pair{false, false}; + return std::make_pair(false, false); } auto valid = CheckSegmentExclude(segment) && CheckApproach(input_coordinate, segment, approach) &&