MCPcopy Create free account
hub / github.com/axmolengine/axmol / shrinkToFit

Method shrinkToFit

core/base/Vector.h:465–465  ·  view source on GitHub ↗

Requests the container to reduce its capacity to fit its size. */

Source from the content-addressed store, hash-verified

463
464 /** Requests the container to reduce its capacity to fit its size. */
465 void shrinkToFit() { _data.shrink_to_fit(); }
466
467protected:
468 /** Retains all the objects in the vector */

Callers 1

VectorTests.cppFile · 0.80

Calls 1

shrink_to_fitMethod · 0.45

Tested by

no test coverage detected