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

Method FailableMemoryAllocator

src/CppUTest/TestMemoryAllocator.cpp:328–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328FailableMemoryAllocator::FailableMemoryAllocator(const char* name_str, const char* alloc_name_str, const char* free_name_str)
329: TestMemoryAllocator(name_str, alloc_name_str, free_name_str), head_(NULLPTR), currentAllocNumber_(0)
330{
331}
332
333void FailableMemoryAllocator::failAllocNumber(int number)
334{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected