diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-08-01 15:39:53 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-08-07 17:29:07 +0300 |
commit | 4d98c2a6284d079d4d65d6d0c1505e01586c1225 (patch) | |
tree | fa407c38456879f5f9acb4e3e3b020c56fac5eca /indexer | |
parent | def5e057909c51fb0c1f9d61421239aea489baa7 (diff) |
Review fixes
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature_visibility.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp index 061baf8ad9..2f293d7af3 100644 --- a/indexer/feature_visibility.cpp +++ b/indexer/feature_visibility.cpp @@ -233,6 +233,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" }); + // Reserved for custom event processing, i.e. fc2018. //static const uint32_t event = classif().GetTypeByPath({ "event" }); static const uint32_t internet = classif().GetTypeByPath({ "internet_access" }); @@ -259,8 +260,12 @@ namespace if (g != GEOM_LINE) { - if (sponsored == type || internet == type)// || event == type) + if (sponsored == type || internet == type) return true; + + // Reserved for custom event processing, i.e. fc2018. + //if (event == type) + // return true; } return false; |