MCPcopy Create free account
hub / github.com/OpenMW/openmw / asPathContainer

Function asPathContainer

components/files/configurationmanager.cpp:478–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476 }
477
478 PathContainer asPathContainer(const MaybeQuotedPathContainer& value)
479 {
480 PathContainer res;
481 res.reserve(value.size());
482 for (const auto& maybeQuotedPath : value)
483 {
484 res.emplace_back(maybeQuotedPath.u8string()); // This call to u8string is redundant, but required to build
485 // on MSVC 14.26 due to implementation bugs.
486 }
487 return res;
488 }
489
490} /* namespace Files */

Callers 7

addExtraConfigDirsMethod · 0.85
readConfigMethod · 0.85
runNavMeshToolFunction · 0.85
parseOptionsFunction · 0.85
runBulletObjectToolFunction · 0.85
readContentFilesMethod · 0.85
parseOptionsFunction · 0.85

Calls 2

reserveMethod · 0.45
sizeMethod · 0.45

Tested by 2

parseOptionsFunction · 0.68
readContentFilesMethod · 0.68