| 105 | TestMemoryAllocator* SimpleString::stringAllocator_ = NULLPTR; |
| 106 | |
| 107 | TestMemoryAllocator* SimpleString::getStringAllocator() |
| 108 | { |
| 109 | if (stringAllocator_ == NULLPTR) |
| 110 | return defaultNewArrayAllocator(); |
| 111 | return stringAllocator_; |
| 112 | } |
| 113 | |
| 114 | void SimpleString::setStringAllocator(TestMemoryAllocator* allocator) |
| 115 | { |
nothing calls this directly
no test coverage detected