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>2014-10-30 17:30:04 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:31:57 +0300
commit582262e720015a6bd022c4c8be890da85f52c84c (patch)
treea520950bb9ecc43403abb16969590156ef4ab5dc /indexer/feature_visibility.cpp
parent51cd6d2cb7ae3341b2c727aab18af82788a2ca39 (diff)
Review fixes.
Diffstat (limited to 'indexer/feature_visibility.cpp')
-rw-r--r--indexer/feature_visibility.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp
index 5952e5696a..0abb82d63d 100644
--- a/indexer/feature_visibility.cpp
+++ b/indexer/feature_visibility.cpp
@@ -242,10 +242,12 @@ namespace
if (g == GEOM_LINE || g == GEOM_UNDEFINED)
{
- if (s1 == t) return true;
+ if (s1 == t)
+ return true;
ftype::TruncValue(t, 1);
- if (s2 == t) return true;
+ if (s2 == t)
+ return true;
}
return false;
@@ -272,7 +274,7 @@ bool IsDrawableForIndex(FeatureBase const & f, int level)
{
Classificator const & c = classif();
- TypesHolder types(f);
+ TypesHolder const types(f);
if (types.GetGeoType() == GEOM_AREA && !types.Has(c.GetCoastType()))
if (!scales::IsGoodForLevel(level, f.GetLimitRect()))