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

Function TruncType

libs/map/bookmark_helpers.cpp:659–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659bool TruncType(std::string & type)
660{
661 auto const pos = type.rfind('-');
662 if (pos == std::string::npos)
663 return false;
664 type.resize(pos);
665 return true;
666}
667
668BookmarkBaseType GetBookmarkBaseType(std::vector<uint32_t> const & featureTypes)
669{

Callers 2

GetBookmarkBaseTypeFunction · 0.85

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected