| 389 | } |
| 390 | |
| 391 | static bool contains(const std::string_view& a, const std::string_view& b) |
| 392 | { |
| 393 | return std::search(a.begin(), a.end(), b.begin(), b.end(), [](char a, char b) { |
| 394 | return tolower(a) == tolower(b); |
| 395 | }) |
| 396 | != a.end(); |
| 397 | } |
| 398 | |
| 399 | static std::optional<VehicleType> getVehicleTypeFromObject(TabObjectEntry& entry) |
| 400 | { |
no test coverage detected