[ios] Review fixes.
This commit is contained in:
parent
c75b53a7f6
commit
9e54a008ac
1 changed files with 1 additions and 6 deletions
|
@ -124,12 +124,7 @@ using namespace storage;
|
|||
{
|
||||
TCountriesVec childrenId;
|
||||
GetFramework().Storage().GetChildren(self.parentCountryId, childrenId);
|
||||
bool const isChildren =
|
||||
std::any_of(childrenId.cbegin(), childrenId.cend(), [&countryId](TCountryId const & cId)
|
||||
{
|
||||
return cId == countryId;
|
||||
});
|
||||
if (isChildren)
|
||||
if (childrenId.find(countryId) != childrenId.cend())
|
||||
process();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue