diff options
author | vng <viktor.govako@gmail.com> | 2015-10-19 14:05:15 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-10-19 14:05:15 +0300 |
commit | 10d3c52af253c0cbd67d0b4790d8aa48d83d9d0d (patch) | |
tree | c6806eabdce0c3d79658bb61905de8da199cb0f8 /indexer/classificator.cpp | |
parent | 2c6daf71e8d3bd8ef1882112c74c3e55c2e51a58 (diff) |
Review fixes.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp index dd9da03464..8f4ad4dc77 100644 --- a/indexer/classificator.cpp +++ b/indexer/classificator.cpp @@ -56,7 +56,7 @@ void ClassifObject::AddDrawRule(drule::Key const & k) ClassifObjectPtr ClassifObject::BinaryFind(string const & s) const { - auto i = lower_bound(m_objs.begin(), m_objs.end(), s, less_name_t()); + auto const i = lower_bound(m_objs.begin(), m_objs.end(), s, less_name_t()); if ((i == m_objs.end()) || ((*i).m_name != s)) return ClassifObjectPtr(0, 0); else @@ -314,7 +314,7 @@ bool ClassifObject::IsDrawableLike(feature::EGeomType ft, bool emptyName) const { ASSERT_LESS(k.m_type, drule::count_of_rules, ()); - // In case when feature name is empty we donn't take into account caption drawing rules. + // In case when feature name is empty we don't take into account caption drawing rules. if ((visible[ft][k.m_type] == 1) && (!emptyName || (k.m_type != drule::caption && k.m_type != drule::pathtext))) { |