diff --git a/geocoder/hierarchy.cpp b/geocoder/hierarchy.cpp index 790f89a4e8..bff5558aa0 100644 --- a/geocoder/hierarchy.cpp +++ b/geocoder/hierarchy.cpp @@ -76,19 +76,13 @@ bool Hierarchy::Entry::DeserializeFromJSONImpl(json_t * const root, string const { Type const type = static_cast(i); string const & levelKey = ToString(type); - auto const * levelJson = base::GetJSONOptionalField(address, levelKey); + auto * levelJson = base::GetJSONOptionalField(address, levelKey); if (!levelJson) continue; if (json_is_null(levelJson)) - { - // Ignore buildings with out full address. - if (Type::Building == type) return false; - continue; - } - string levelValue; FromJSON(levelJson, levelValue); if (levelValue.empty())