[ios] Compilation fix

This commit is contained in:
VladiMihaylenko 2018-03-27 16:35:43 +03:00 committed by Vladimir Byko-Ianko
parent ce3ae02463
commit 329be531f1

View file

@ -202,7 +202,7 @@ using TLoopBlock = void (^)(Observer observer);
{
manager.shareCategoryURL = [NSURL fileURLWithPath:@(sharingResult.m_sharingPath.c_str())
isDirectory:NO];
NSAssert(manager.shareCategoryURL != nil, @"Invalid share category url");
ASSERT(manager.shareCategoryURL, ("Invalid share category url"));
status = MWMBookmarksShareStatusSuccess;
break;
}