[iOS] fix build after rebase

This commit is contained in:
Aleksey Belouosv 2019-12-27 13:58:11 +03:00 committed by Alexander Boriskov
parent df056e36ce
commit 6874c51bfa
3 changed files with 4 additions and 4 deletions

View file

@ -28,12 +28,12 @@ static PlacePageDataSchedule convertOpeningHours(std::string rawOpeningHours) {
return PlacePageDataOpeningHoursUnknown;
}
static PlacePageDataHotelType convertHotelType(boost::optional<ftypes::IsHotelChecker::Type> hotelType) {
static PlacePageDataHotelType convertHotelType(std::optional<ftypes::IsHotelChecker::Type> hotelType) {
if (!hotelType.has_value()) {
return PlacePageDataHotelTypeNone;
}
switch (hotelType.get()) {
switch (*hotelType) {
case ftypes::IsHotelChecker::Type::Hotel:
return PlacePageDataHotelTypeHotel;
case ftypes::IsHotelChecker::Type::Apartment:

View file

@ -951,7 +951,7 @@ void RegisterEventIfPossible(eye::MapObject::Event::Type const type)
}
[Statistics logEvent:kStatUGCReviewStart
withParameters:@{
kStatIsAuthenticated: @([MWMAuthorizationViewModel isAuthenticated]),
kStatIsAuthenticated: @([MWMUser isAuthenticated]),
kStatIsOnline: @(GetPlatform().ConnectionStatus() != Platform::EConnectionType::CONNECTION_NONE),
kStatMode: kStatAdd,
kStatFrom: sourceString

View file

@ -1,6 +1,6 @@
#import "MWMActionBarButton.h"
#import "MWMButton.h"
#import "MWMCircularProgress+Swift.h"
#import "MWMCircularProgress.h"
NSString * titleForPartner(NSInteger partnerIndex)
{