diff options
author | vng <viktor.govako@gmail.com> | 2011-02-08 01:06:04 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:54 +0300 |
commit | 2680e4a2a79b7a8fc2490212d6de11c3afad47a8 (patch) | |
tree | 1ff6e6154583b1ed502966c751ee90da7846e8aa /indexer/feature.cpp | |
parent | 5c736831eb56d740c84fc1d99bbdd4c1f74e2bca (diff) |
Remove obsolete feature-points serialization functions.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 4d40732657..98fea4ec02 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -235,14 +235,14 @@ void FeatureBuilder1::Serialize(buffer_t & data) const PushBackByteSink<buffer_t> sink(data); if (m_bLinear || m_bArea) - feature::SavePoints(m_Geometry, 0, sink); + serial::SaveOuterPath(m_Geometry, 0, sink); if (m_bArea) { WriteVarUint(sink, uint32_t(m_Holes.size())); for (list<points_t>::const_iterator i = m_Holes.begin(); i != m_Holes.end(); ++i) - feature::SavePoints(*i, 0, sink); + serial::SaveOuterPath(*i, 0, sink); } // check for correct serialization @@ -274,7 +274,7 @@ void FeatureBuilder1::Deserialize(buffer_t & data) if (m_bLinear || m_bArea) { - feature::LoadPoints(m_Geometry, 0, src); + serial::LoadOuterPath(src, 0, m_Geometry); CalcRect(m_Geometry, m_LimitRect); } @@ -284,7 +284,7 @@ void FeatureBuilder1::Deserialize(buffer_t & data) for (uint32_t i = 0; i < count; ++i) { m_Holes.push_back(points_t()); - feature::LoadPoints(m_Holes.back(), 0, src); + serial::LoadOuterPath(src, 0, m_Holes.back()); } } |