MCPcopy Create free account
hub / github.com/cpputest/cpputest / ~GlobalSimpleStringCache

Method ~GlobalSimpleStringCache

src/CppUTest/SimpleStringInternalCache.cpp:255–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255GlobalSimpleStringCache::~GlobalSimpleStringCache()
256{
257 SimpleString::setStringAllocator(allocator_->originalAllocator());
258 cache_.clearAllIncludingCurrentlyUsedMemory();
259 delete allocator_;
260}
261
262TestMemoryAllocator* GlobalSimpleStringCache::getAllocator()
263{

Callers

nothing calls this directly

Tested by

no test coverage detected