diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2016-10-18 15:12:04 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2016-10-21 20:27:37 +0300 |
commit | 6837b685335a30ab3861370926c17436d9e434c3 (patch) | |
tree | 7193f2f5ee489823a3713301b8b07ef3c0aca668 /indexer/ftypes_matcher.cpp | |
parent | f179d5cd0dd33c5dbe33f178ada3d0bbd111f0b5 (diff) |
opentable is added into placepage
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r-- | indexer/ftypes_matcher.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp index dfe0a32004..59bac21c1c 100644 --- a/indexer/ftypes_matcher.cpp +++ b/indexer/ftypes_matcher.cpp @@ -476,6 +476,18 @@ IsFoodChecker const & IsFoodChecker::Instance() return instance; } +IsOpentableChecker::IsOpentableChecker() +{ + Classificator const & c = classif(); + m_types.push_back(c.GetTypeByPath({"sponsored", "opentable"})); +} + +IsOpentableChecker const & IsOpentableChecker::Instance() +{ + static IsOpentableChecker const inst; + return inst; +} + uint32_t GetPopulation(FeatureType const & ft) { uint32_t population = ft.GetPopulation(); |