diff options
author | Ilya Zverev <zverik@textual.ru> | 2017-01-26 19:01:25 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2017-01-26 19:01:25 +0300 |
commit | b7b98f376f8c11cf9ccc486b0b199d4258e6ee1b (patch) | |
tree | 840ae791b52e8a696671af2947b4385a1c2a408c /indexer/feature_visibility.cpp | |
parent | afca613c57be5df8768b675df7015788ca64fe2e (diff) |
[generator] Make internet_access type always present
Diffstat (limited to 'indexer/feature_visibility.cpp')
-rw-r--r-- | indexer/feature_visibility.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp index 20adbd8853..ac2df169ab 100644 --- a/indexer/feature_visibility.cpp +++ b/indexer/feature_visibility.cpp @@ -215,6 +215,7 @@ namespace static const uint32_t psurface = classif().GetTypeByPath({ "psurface" }); static const uint32_t wheelchair = classif().GetTypeByPath({ "wheelchair" }); static const uint32_t sponsored = classif().GetTypeByPath({ "sponsored" }); + static const uint32_t internet = classif().GetTypeByPath({ "internet_access" }); // Caching type length to exclude generic [wheelchair]. uint8_t const typeLength = ftype::GetLevel(type); @@ -237,7 +238,7 @@ namespace if (wheelchair == type && typeLength == 2) return true; - if (sponsored == type) + if (sponsored == type || internet == type) return true; return false; |