From 7bdf9217c6474397bb477fadb95b1f8c8f411d8d Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Wed, 15 May 2024 18:07:05 +0200 Subject: [PATCH] Use std::make_pair --- include/engine/geospatial_query.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) &&