clear array and release dinamically allocated memory
| 421 | |
| 422 | // clear array and release dinamically allocated memory |
| 423 | void free() |
| 424 | { |
| 425 | clear(); |
| 426 | freeData(); |
| 427 | capacity = this->getStorageSize(); |
| 428 | data = this->getStorage(); |
| 429 | } |
| 430 | |
| 431 | // This method only assigns "pos" if the element is found. |
| 432 | // Maybe we should modify it to iterate directy with "pos". |
nothing calls this directly
no test coverage detected