diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-01-20 12:58:43 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:14:21 +0300 |
commit | 9338907ae8f945fcdea04ce9d4dd958c2e7f7345 (patch) | |
tree | 94d3f82a1c86464dd54e32ea6801f31bae21d197 /indexer/feature_data.hpp | |
parent | f411a6b7f88ef766b330174b56e0d4687a806869 (diff) |
Don not save feature if it wasn't edited.
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 3f2588b9ae..5db6a58c7a 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -102,18 +102,23 @@ namespace feature } return false; } + void Remove(uint32_t t); string DebugPrint() const; /// Sort types by it's specification (more detailed type goes first). void SortBySpec(); + + friend bool operator==(TypesHolder const & a, TypesHolder const & b); + friend bool operator!=(TypesHolder const & a, TypesHolder const & b); }; inline string DebugPrint(TypesHolder const & t) { return t.DebugPrint(); } + uint8_t CalculateHeader(uint32_t const typesCount, uint8_t const headerGeomType, FeatureParamsBase const & params); } |