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:
authorvng <viktor.govako@gmail.com>2015-10-19 14:05:15 +0300
committervng <viktor.govako@gmail.com>2015-10-19 14:05:15 +0300
commit10d3c52af253c0cbd67d0b4790d8aa48d83d9d0d (patch)
treec6806eabdce0c3d79658bb61905de8da199cb0f8 /indexer/classificator.cpp
parent2c6daf71e8d3bd8ef1882112c74c3e55c2e51a58 (diff)
Review fixes.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r--indexer/classificator.cpp4
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)))
{