diff options
Diffstat (limited to 'generator/feature_helpers.cpp')
-rw-r--r-- | generator/feature_helpers.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generator/feature_helpers.cpp b/generator/feature_helpers.cpp index 9b1637ffa9..69166ff14b 100644 --- a/generator/feature_helpers.cpp +++ b/generator/feature_helpers.cpp @@ -4,6 +4,8 @@ #include "indexer/feature_visibility.hpp" +#include "coding/point_to_integer.hpp" + #include "base/stl_helpers.hpp" #include <algorithm> @@ -22,7 +24,7 @@ void CalculateMidPoints::operator()(FeatureBuilder1 const & ft, uint64_t pos) ASSERT_NOT_EQUAL(m_locCount, 0, ()); m_midLoc = m_midLoc / m_locCount; - uint64_t const pointAsInt64 = PointToInt64(m_midLoc, m_coordBits); + uint64_t const pointAsInt64 = PointToInt64Obsolete(m_midLoc, m_coordBits); int const minScale = feature::GetMinDrawableScale(ft.GetFeatureBase()); /// May be invisible if it's small area object with [0-9] scales. |