[android][editor] fix: Review fixes.

This commit is contained in:
Alexander Marchuk 2016-06-17 15:34:56 +03:00 committed by Vladimir Byko-Ianko
parent 64e9c8033b
commit 4761fe49c0
2 changed files with 1 additions and 3 deletions

View file

@ -61,7 +61,7 @@ bool UserStats::GetRank(int32_t & rank) const
return true;
}
bool UserStats::GetLevelUpRequiredFeat(string & levelUpFeat) const
bool UserStats::GetLevelUpRequiredFeat(string & levelUpFeat) const
{
if (m_levelUpRequiredFeat.empty())
return false;

View file

@ -200,8 +200,6 @@ bool EditableMapObject::ValidateBuildingLevels(string const & buildingLevels)
if (buildingLevels.size() > 18 /* max number of digits in uint_64 */)
return false;
if (buildingLevels.empty())
return true;
uint64_t levels;
return strings::to_uint64(buildingLevels, levels) && levels > 0 && levels <= kMaximumLevelsEditableByUsers;