| 1016 | } |
| 1017 | |
| 1018 | static bool containsField(const std::vector<Field>& fields, std::string_view name) { |
| 1019 | return std::any_of(fields.begin(), fields.end(), |
| 1020 | [name](const Field& field) { return field.name == name; }); |
| 1021 | } |
| 1022 | |
| 1023 | static bool containsName(const std::vector<std::string>& names, std::string_view name) { |
| 1024 | return std::find(names.begin(), names.end(), name) != names.end(); |
nothing calls this directly
no outgoing calls
no test coverage detected