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>2011-12-09 01:08:25 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:29:59 +0300
commit16f89e272b2b145ab5df03349fc535e5a00dc099 (patch)
treed273fbc7cb45ea1c3f72d00c762b79fc5cdaa247 /indexer/feature_visibility.hpp
parent5bda2539a4523161adef742152393644fada1b07 (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.hpp7
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;