| 72 | } |
| 73 | |
| 74 | void GlobalSimpleStringMemoryAccountant::start() |
| 75 | { |
| 76 | if (allocator_ != NULLPTR) |
| 77 | return; |
| 78 | |
| 79 | allocator_ = new AccountingTestMemoryAllocator(*accountant_, SimpleString::getStringAllocator()); |
| 80 | |
| 81 | SimpleString::setStringAllocator(allocator_); |
| 82 | } |
| 83 | |
| 84 | void GlobalSimpleStringMemoryAccountant::stop() |
| 85 | { |
no outgoing calls