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:
authorArsentiy Milchakov <milcars@mapswithme.com>2016-10-18 15:12:04 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2016-10-21 20:27:37 +0300
commit6837b685335a30ab3861370926c17436d9e434c3 (patch)
tree7193f2f5ee489823a3713301b8b07ef3c0aca668 /indexer/ftypes_matcher.cpp
parentf179d5cd0dd33c5dbe33f178ada3d0bbd111f0b5 (diff)
opentable is added into placepage
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp12
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();