diff options
author | vng <viktor.govako@gmail.com> | 2015-07-17 17:27:55 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:15 +0300 |
commit | 5399343271ccb738d2624fb25250ba3e9694e21c (patch) | |
tree | 164387f96c2c8a2b8d6e704fe3d74db2d2d8560f /indexer/feature_decl.hpp | |
parent | 6b9892d72ad0bbe54a7a7f7ef7664e517c8d54fc (diff) |
Review fixes.
Diffstat (limited to 'indexer/feature_decl.hpp')
-rw-r--r-- | indexer/feature_decl.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indexer/feature_decl.hpp b/indexer/feature_decl.hpp index b0f706fa7d..6c89648b5f 100644 --- a/indexer/feature_decl.hpp +++ b/indexer/feature_decl.hpp @@ -20,24 +20,24 @@ enum EGeomType struct FeatureID { MwmSet::MwmId m_mwmId; - uint32_t m_ind; + uint32_t m_index; - FeatureID() : m_ind(0) {} - FeatureID(MwmSet::MwmId const & mwmId, uint32_t ind) : m_mwmId(mwmId), m_ind(ind) {} + FeatureID() : m_index(0) {} + FeatureID(MwmSet::MwmId const & mwmId, uint32_t index) : m_mwmId(mwmId), m_index(index) {} bool IsValid() const { return m_mwmId.IsAlive(); } inline bool operator<(FeatureID const & r) const { if (m_mwmId == r.m_mwmId) - return m_ind < r.m_ind; + return m_index < r.m_index; else return m_mwmId < r.m_mwmId; } inline bool operator==(FeatureID const & r) const { - return (m_mwmId == r.m_mwmId && m_ind == r.m_ind); + return (m_mwmId == r.m_mwmId && m_index == r.m_index); } inline bool operator!=(FeatureID const & r) const { return !(*this == r); } |