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

Function setCurrentNewAllocatorToDefault

src/CppUTest/TestMemoryAllocator.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void setCurrentNewAllocatorToDefault()
57{
58 currentNewAllocator = defaultNewAllocator();
59}
60
61TestMemoryAllocator* defaultNewAllocator()
62{

Callers 2

getCurrentNewAllocatorFunction · 0.85
TESTFunction · 0.85

Calls 1

defaultNewAllocatorFunction · 0.85

Tested by

no test coverage detected