MCPcopy Create free account
hub / github.com/OSGeo/PROJ / in

Function in

test/unit/test_factory.cpp:1428–1435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1426// ---------------------------------------------------------------------------
1427
1428static 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

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected