diff options
author | vng <viktor.govako@gmail.com> | 2014-10-30 17:30:04 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:31:57 +0300 |
commit | 582262e720015a6bd022c4c8be890da85f52c84c (patch) | |
tree | a520950bb9ecc43403abb16969590156ef4ab5dc /indexer/feature_visibility.cpp | |
parent | 51cd6d2cb7ae3341b2c727aab18af82788a2ca39 (diff) |
Review fixes.
Diffstat (limited to 'indexer/feature_visibility.cpp')
-rw-r--r-- | indexer/feature_visibility.cpp | 8 |
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())) |