Removes the last element in the Vector. */
| 332 | |
| 333 | /** Removes the last element in the Vector. */ |
| 334 | void popBack() |
| 335 | { |
| 336 | AXASSERT(!_data.empty(), "no objects added"); |
| 337 | auto last = _data.back(); |
| 338 | _data.pop_back(); |
| 339 | last->release(); |
| 340 | } |
| 341 | |
| 342 | /** Remove a certain object in Vector. |
| 343 | * @param object The object to be removed. |
no test coverage detected