| 650 | } |
| 651 | |
| 652 | size_t AccountingTestMemoryAllocator::removeHeadAndReturnSize() |
| 653 | { |
| 654 | AccountingTestMemoryAllocatorMemoryNode* foundNode = head_; |
| 655 | head_ = head_->next_; |
| 656 | |
| 657 | size_t size = foundNode->size_; |
| 658 | originalAllocator_->free_memory((char*) foundNode, size, __FILE__, __LINE__); |
| 659 | return size; |
| 660 | } |
| 661 | |
| 662 | size_t AccountingTestMemoryAllocator::removeMemoryFromTrackingAndReturnAllocatedSize(char* memory) |
| 663 | { |
nothing calls this directly
no test coverage detected