Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-01-21 14:43:09 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:14:22 +0300
commitbd2c286e890a687393062d0f6b79789ff94ab20f (patch)
tree9624966072379db5f1d3b8fbbc86867bb1cf3556 /indexer/feature_data.hpp
parent9338907ae8f945fcdea04ce9d4dd958c2e7f7345 (diff)
Take streets into account.
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r--indexer/feature_data.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp
index 5db6a58c7a..09be7b6556 100644
--- a/indexer/feature_data.hpp
+++ b/indexer/feature_data.hpp
@@ -110,8 +110,9 @@ namespace feature
/// 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);
+ /// Returns true if this->m_types and other.m_types contain same values
+ /// in any order. Works in O(n log n).
+ bool Equals(TypesHolder const & other) const;
};
inline string DebugPrint(TypesHolder const & t)