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

Method deleteContainer

astyle/src/ASFormatter.cpp:4437–4445  ·  view source on GitHub ↗

* delete a bracketTypeStack vector object * BracketTypeStack did not work with the DeleteContainer template */

Source from the content-addressed store, hash-verified

4435 * BracketTypeStack did not work with the DeleteContainer template
4436 */
4437void ASFormatter::deleteContainer(vector<BracketType>* &container)
4438{
4439 if (container != NULL)
4440 {
4441 container->clear();
4442 delete (container);
4443 container = NULL;
4444 }
4445}
4446
4447/**
4448 * delete a vector object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected