MCPcopy Create free account
hub / github.com/comaps/comaps / IsMwmContained

Function IsMwmContained

libs/routing/speed_camera_prohibition.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24bool IsMwmContained(platform::CountryFile const & mwm, CountrySetT const & countryList)
25{
26 return std::any_of(countryList.cbegin(), countryList.cend(),
27 [&mwm](auto const & country) { return mwm.GetName().starts_with(country); });
28}
29} // namespace
30
31namespace routing

Callers 2

Calls 3

cbeginMethod · 0.45
cendMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected