diff options
author | Ilya Zverev <zverik@textual.ru> | 2016-05-18 16:04:42 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2016-05-18 18:42:06 +0300 |
commit | a25e16e88ebc9b46002d643369c1c97b650efea0 (patch) | |
tree | e9b5a3fd4caf55ee5b4ecb6e7e997ccdb85a715b /indexer/ftypes_matcher.cpp | |
parent | e56584a1a119d8fe3697042a777d30ff554690d0 (diff) |
[booking] Use actual values for rendering hotels
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r-- | indexer/ftypes_matcher.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp index dd2b8c547e..f8ff0d8a4d 100644 --- a/indexer/ftypes_matcher.cpp +++ b/indexer/ftypes_matcher.cpp @@ -332,20 +332,7 @@ IsLocalityChecker const & IsLocalityChecker::Instance() IsBookingChecker::IsBookingChecker() { Classificator const & c = classif(); - char const * arr[][3] = { - { "tourism", "alpine_hut", "booking" }, - { "tourism", "apartment", "booking" }, - { "tourism", "camp_site", "booking" }, - { "tourism", "chalet", "booking" }, - { "tourism", "guest_house", "booking" }, - { "tourism", "hostel", "booking" }, - { "tourism", "hotel", "booking" }, - { "tourism", "motel", "booking" }, - { "tourism", "resort", "booking" } - }; - - for (size_t i = 0; i < ARRAY_SIZE(arr); ++i) - m_types.push_back(c.GetTypeByPath(vector<string>(arr[i], arr[i] + 3))); + m_types.push_back(c.GetTypeByPath({ "sponsored", "booking" })); } IsBookingChecker const & IsBookingChecker::Instance() |