MCPcopy Create free account
hub / github.com/cpputest/cpputest / SimpleStringCacheAllocator

Method SimpleStringCacheAllocator

src/CppUTest/SimpleStringInternalCache.cpp:267–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267SimpleStringCacheAllocator::SimpleStringCacheAllocator(SimpleStringInternalCache& cache, TestMemoryAllocator* origAllocator)
268 : cache_(cache), originalAllocator_(origAllocator)
269{
270 cache_.setAllocator(origAllocator);
271}
272
273SimpleStringCacheAllocator::~SimpleStringCacheAllocator()
274{

Callers

nothing calls this directly

Calls 1

setAllocatorMethod · 0.45

Tested by

no test coverage detected