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:
authorDmitry Kunin <dkunin@mapswith.me>2014-01-21 12:57:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:10:22 +0300
commit1e00b4fec395187781b602c592d8b57704d566cc (patch)
treebedf2aeaa5b723bfff5ce0f3c94166f178c68b13 /indexer/feature_decl.hpp
parentf4c77fea8f4c32e35499044cb58923e27b77f1a3 (diff)
[codereview]
Diffstat (limited to 'indexer/feature_decl.hpp')
-rw-r--r--indexer/feature_decl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/feature_decl.hpp b/indexer/feature_decl.hpp
index 82b5a9a6e2..8e2db502f0 100644
--- a/indexer/feature_decl.hpp
+++ b/indexer/feature_decl.hpp
@@ -25,4 +25,9 @@ struct FeatureID
{
return (m_mwm == r.m_mwm && m_offset == r.m_offset);
}
+
+ inline bool operator != (FeatureID const & r) const
+ {
+ return !(*this == r);
+ }
};