diff options
Diffstat (limited to 'generator/routing_index_generator.cpp')
-rw-r--r-- | generator/routing_index_generator.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generator/routing_index_generator.cpp b/generator/routing_index_generator.cpp index 468089bec9..161a38c9be 100644 --- a/generator/routing_index_generator.cpp +++ b/generator/routing_index_generator.cpp @@ -25,13 +25,14 @@ #include "indexer/feature.hpp" #include "indexer/feature_processor.hpp" -#include "geometry/point2d.hpp" - #include "coding/file_container.hpp" #include "coding/file_name_utils.hpp" #include "coding/point_to_integer.hpp" +#include "coding/pointd_to_pointu.hpp" #include "coding/reader.hpp" +#include "geometry/point2d.hpp" + #include "base/checked_cast.hpp" #include "base/logging.hpp" #include "base/osm_id.hpp" @@ -139,7 +140,7 @@ private: for (size_t i = 0; i < f.GetPointsCount(); ++i) { - uint64_t const locationKey = PointToInt64(f.GetPoint(i), POINT_COORD_BITS); + uint64_t const locationKey = PointToInt64Obsolete(f.GetPoint(i), POINT_COORD_BITS); m_posToJoint[locationKey].AddPoint(RoadPoint(id, base::checked_cast<uint32_t>(i))); } } |