| 294 | } |
| 295 | |
| 296 | bool FeatureParams::AddName(string_view lang, string_view s) |
| 297 | { |
| 298 | if (IsDummyName(s)) |
| 299 | return false; |
| 300 | |
| 301 | // The "default" new name will replace the old one if any (e.g. from SetHouseNumberAndHouseName call). |
| 302 | name.AddString(string{lang}, s); |
| 303 | return true; |
| 304 | } |
| 305 | |
| 306 | bool FeatureParams::LooksLikeHouseNumber(std::string const & hn) |
| 307 | { |