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

Function getCurrentNewAllocator

src/CppUTest/TestMemoryAllocator.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50TestMemoryAllocator* getCurrentNewAllocator()
51{
52 if (currentNewAllocator == NULLPTR) setCurrentNewAllocatorToDefault();
53 return currentNewAllocator;
54}
55
56void setCurrentNewAllocatorToDefault()
57{

Callers 15

UT_THROWFunction · 0.85
mem_leak_operator_deleteFunction · 0.85
saveMethod · 0.85
startMethod · 0.85
stopMethod · 0.85

Calls 1

Tested by

no test coverage detected