MCPcopy Create free account
hub / github.com/LMMS/lmms / deleteHelper

Function deleteHelper

include/Engine.h:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122private:
123 // small helper function which sets the pointer to NULL before actually deleting
124 // the object it refers to
125 template<class T>
126 static inline void deleteHelper( T * * ptr )
127 {
128 T * tmp = *ptr;
129 *ptr = NULL;
130 delete tmp;
131 }
132
133 static float s_framesPerTick;
134

Callers 1

destroyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected