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-05-13 01:24:33 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:15 +0300
commit23d89b6acf8871a0d3e488bc7bd71ece530f5ba4 (patch)
treeb7dca4f3ecefb78986997e3d5e09dff4596cb4d7 /indexer/feature.hpp
parent95269ed597c7f3d0db850cfd48cb0ef869eabc47 (diff)
Fix maximum feature types count constant.
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r--indexer/feature.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp
index 654ccacc3d..f2b26ff623 100644
--- a/indexer/feature.hpp
+++ b/indexer/feature.hpp
@@ -166,7 +166,8 @@ public:
/// Base feature class for storing common data (without geometry).
class FeatureBase
{
- static const int m_maxTypesCount = 7;
+ static const int m_maxTypesCount = feature::max_types_count;
+
public:
FeatureBase() : m_Offset(0) {}