diff options
author | vng <viktor.govako@gmail.com> | 2011-12-09 01:08:25 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:29:59 +0300 |
commit | 16f89e272b2b145ab5df03349fc535e5a00dc099 (patch) | |
tree | d273fbc7cb45ea1c3f72d00c762b79fc5cdaa247 /indexer/feature_visibility.hpp | |
parent | 5bda2539a4523161adef742152393644fada1b07 (diff) |
Use population rank (height of font) only for place-[city(-capital), town].
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r-- | indexer/feature_visibility.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp index 9ba42164a2..27b15c136e 100644 --- a/indexer/feature_visibility.hpp +++ b/indexer/feature_visibility.hpp @@ -33,13 +33,14 @@ namespace feature bool IsHighway(vector<uint32_t> const & types); - bool IsCountry(uint32_t type); + bool UsePopulationRank(uint32_t type); + template <class IterT> - inline bool IsCountry(IterT beg, IterT end) + inline bool UsePopulationRank(IterT beg, IterT end) { while (beg != end) { - if (IsCountry(*beg++)) + if (UsePopulationRank(*beg++)) return true; } return false; |