MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / initContainer

Method initContainer

astyle/src/ASBeautifier.cpp:1455–1462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1453 */
1454template<typename T>
1455void ASBeautifier::initContainer(T &container, T value)
1456{
1457 // since the ASFormatter object is never deleted,
1458 // the existing vectors must be deleted before creating new ones
1459 if (container != NULL )
1460 deleteContainer(container);
1461 container = value;
1462}
1463
1464/**
1465 * Initialize the tempStacks vector object.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected