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:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-04-26 17:51:27 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:53:56 +0300
commit040d6c1253f475c7f9a5063dd17d5a9ccb7333fb (patch)
tree1d9317b701f090b420d173c7a442f400e6d1bfa7 /indexer/classificator.hpp
parent753b0bf20309931b75776e335fdc2927d892bc56 (diff)
[map] unlocked styling for z19
Diffstat (limited to 'indexer/classificator.hpp')
-rw-r--r--indexer/classificator.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/classificator.hpp b/indexer/classificator.hpp
index 68e5d76b4f..a2be356c7f 100644
--- a/indexer/classificator.hpp
+++ b/indexer/classificator.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "drawing_rule_def.hpp"
#include "types_mapping.hpp"
+#include "scales.hpp"
#include "../base/base.hpp"
@@ -113,7 +114,7 @@ public:
}
}
- typedef bitset<18> visible_mask_t;
+ typedef bitset<UPPER_STYLE_SCALE+1> visible_mask_t;
visible_mask_t GetVisibilityMask() const { return m_visibility; }
void SetVisibilityMask(visible_mask_t mask) { m_visibility = mask; }
void SetVisibilityOnScale(const bool isVisible, const int scale) { m_visibility[scale] = isVisible; }