MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / containsPathObject

Function containsPathObject

src/gui/map/map_editor.cpp:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224 template<class T>
225 bool containsPathObject(const T& container)
226 {
227 return std::any_of(begin(container), end(container), [](const auto* object) {
228 return object->getType() == Object::Path;
229 });
230 }
231
232
233} // namespace

Calls 1

getTypeMethod · 0.45

Tested by

no test coverage detected