diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-04-17 16:35:22 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2019-04-18 16:53:21 +0300 |
commit | c04b52489c34039dfbdb7db17d9418385b1a611b (patch) | |
tree | da1eaa90ca0073061fa89694b8e59a9e503d16d1 /indexer | |
parent | 9ede0dbd11b96492b6f0d6ce7ca070d683afdc53 (diff) |
[indexer] enums renaming, review fixes
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature_data.cpp | 2 | ||||
-rw-r--r-- | indexer/feature_data.hpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp index 09aa39380d..e0ab7f1d4e 100644 --- a/indexer/feature_data.cpp +++ b/indexer/feature_data.cpp @@ -206,7 +206,7 @@ bool FeatureParamsBase::operator == (FeatureParamsBase const & rhs) const bool FeatureParamsBase::CheckValid() const { - CHECK(layer > LAYER_FLAGS_LOW && layer < LAYER_FLAGS_HIGH, ()); + CHECK(layer > LAYER_LOW && layer < LAYER_HIGH, ()); return true; } diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 6b824f23c7..1f3e57f3e2 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -42,14 +42,14 @@ namespace feature static constexpr int kMaxTypesCount = HEADER_MASK_TYPE + 1; - enum LayerFlags + enum Layer { - LAYER_FLAGS_LOW = -11, + LAYER_LOW = -11, - LAYER_FLAGS_EMPTY = 0, - LAYER_FLAGS_TRANSPARENT_TUNNEL = 11, + LAYER_EMPTY = 0, + LAYER_TRANSPARENT_TUNNEL = 11, - LAYER_FLAGS_HIGH = 12 + LAYER_HIGH = 12 }; class TypesHolder |