| 1035 | } |
| 1036 | |
| 1037 | bool AreObjectsEqualIgnoringStreet(EditableMapObject const & lhs, EditableMapObject const & rhs) |
| 1038 | { |
| 1039 | feature::TypesHolder const & lhsTypes = lhs.GetTypes(); |
| 1040 | feature::TypesHolder const & rhsTypes = rhs.GetTypes(); |
| 1041 | |
| 1042 | if (!lhsTypes.Equals(rhsTypes)) |
| 1043 | return false; |
| 1044 | |
| 1045 | if (lhs.GetHouseNumber() != rhs.GetHouseNumber()) |
| 1046 | return false; |
| 1047 | |
| 1048 | if (lhs.GetCuisines() != rhs.GetCuisines()) |
| 1049 | return false; |
| 1050 | |
| 1051 | if (!lhs.m_metadata.Equals(rhs.m_metadata)) |
| 1052 | return false; |
| 1053 | |
| 1054 | if (lhs.GetNameMultilang() != rhs.GetNameMultilang()) |
| 1055 | return false; |
| 1056 | |
| 1057 | return true; |
| 1058 | } |
| 1059 | |
| 1060 | } // namespace osm |
no test coverage detected