| 82 | } |
| 83 | |
| 84 | void GlobalSimpleStringMemoryAccountant::stop() |
| 85 | { |
| 86 | if (allocator_ == NULLPTR) |
| 87 | FAIL("Global SimpleString allocator stopped without starting"); |
| 88 | |
| 89 | if (SimpleString::getStringAllocator() != allocator_) |
| 90 | FAIL("GlobalStrimpleStringMemoryAccountant: allocator has changed between start and stop!"); |
| 91 | |
| 92 | restoreAllocator(); |
| 93 | } |
| 94 | |
| 95 | SimpleString GlobalSimpleStringMemoryAccountant::report() |
| 96 | { |
no outgoing calls