MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / ~PoolBase

Method ~PoolBase

physx/source/foundation/include/PsPool.h:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57 public:
58 ~PoolBase()
59 {
60 if(mUsed)
61 disposeElements();
62
63 for(void** slabIt = mSlabs.begin(), *slabEnd = mSlabs.end(); slabIt != slabEnd; ++slabIt)
64 Alloc::deallocate(*slabIt);
65 }
66
67 // Allocate space for single object
68 PX_INLINE T* allocate()

Callers

nothing calls this directly

Calls 3

deallocateFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected