diff --git a/search/hotels_filter.hpp b/search/hotels_filter.hpp index 4adbc23877..2ad8bbb02c 100644 --- a/search/hotels_filter.hpp +++ b/search/hotels_filter.hpp @@ -319,6 +319,10 @@ struct OneOfRule final : public Rule os << "[ one of:"; for (size_t i = 0; i < static_cast(ftypes::IsHotelChecker::Type::Count); ++i) { + unsigned const bit = 1U << i; + if ((m_types & bit) == 0) + continue; + auto const type = static_cast(i); os << " " << ftypes::IsHotelChecker::GetHotelTypeTag(type); }