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:
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r--indexer/feature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp
index 01e1210f3b..d2c387704e 100644
--- a/indexer/feature.cpp
+++ b/indexer/feature.cpp
@@ -297,7 +297,7 @@ uint32_t FeatureType::GetPopulation() const
if (m_Params.rank == 0)
return 1;
- return static_cast<uint32_t>(min(double(uint32_t(-1)), pow(1.1, m_Params.rank)));
+ return static_cast<uint32_t>(pow(1.1, m_Params.rank));
}
double FeatureType::GetPopulationDrawRank() const