diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-04-06 16:19:56 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:46:29 +0300 |
commit | 5415f96bb7eb4e2037c29fcf6f1938f540956e1c (patch) | |
tree | e0c5f5510de2d4d88d32a142da6b2d87c9b85fa9 /indexer/feature.hpp | |
parent | 2f9c69429fe231c2b014510b8561c9ea13deb4f2 (diff) |
Mapsme old routing algos
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r-- | indexer/feature.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp index 9e1a81884f..b74721f221 100644 --- a/indexer/feature.hpp +++ b/indexer/feature.hpp @@ -305,6 +305,12 @@ public: void SwapGeometry(FeatureType & r); + inline void SwapPoints(buffer_vector<m2::PointD, 32> & points) const + { + ASSERT(m_bPointsParsed, ()); + return m_points.swap(points); + } + private: void ParseAll(int scale) const; |