| 640 | } |
| 641 | |
| 642 | size_t AccountingTestMemoryAllocator::removeNextNodeAndReturnSize(AccountingTestMemoryAllocatorMemoryNode* node) |
| 643 | { |
| 644 | AccountingTestMemoryAllocatorMemoryNode* foundNode = node->next_; |
| 645 | node->next_ = node->next_->next_; |
| 646 | |
| 647 | size_t size = foundNode->size_; |
| 648 | originalAllocator_->free_memory((char*) foundNode, size, __FILE__, __LINE__); |
| 649 | return size; |
| 650 | } |
| 651 | |
| 652 | size_t AccountingTestMemoryAllocator::removeHeadAndReturnSize() |
| 653 | { |
nothing calls this directly
no test coverage detected