| 1426 | // --------------------------------------------------------------------------- |
| 1427 | |
| 1428 | static bool in(const std::string &str, const std::vector<std::string> &list) { |
| 1429 | for (const auto &listItem : list) { |
| 1430 | if (str == listItem) { |
| 1431 | return true; |
| 1432 | } |
| 1433 | } |
| 1434 | return false; |
| 1435 | } |
| 1436 | |
| 1437 | // --------------------------------------------------------------------------- |
| 1438 |