* delete a bracketTypeStack vector object * BracketTypeStack did not work with the DeleteContainer template */
| 4435 | * BracketTypeStack did not work with the DeleteContainer template |
| 4436 | */ |
| 4437 | void 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 |
nothing calls this directly
no outgoing calls
no test coverage detected