| 241 | } |
| 242 | |
| 243 | bool FeatureParamsBase::SetDefaultNameIfEmpty(std::string const & s) |
| 244 | { |
| 245 | std::string_view existing; |
| 246 | if (name.GetString(localisation::kDefaultNameIndex, existing)) |
| 247 | return existing == s; |
| 248 | |
| 249 | name.AddString(localisation::kDefaultNameIndex, s); |
| 250 | return true; |
| 251 | } |
| 252 | |
| 253 | bool FeatureParamsBase::operator==(FeatureParamsBase const & rhs) const |
| 254 | { |
no test coverage detected