Updates to various files, replacing delete calls with osgDelete so that

greater debugging info can be gleaned.
This commit is contained in:
Robert Osfield
2002-03-27 14:56:47 +00:00
parent 7927335edf
commit 77ae5ddcb6
9 changed files with 27 additions and 25 deletions

View File

@@ -6,6 +6,8 @@
#include <vector>
#include <list>
#include <osg/MemoryManager>
/////////////////////////////////////////////////////////////////////////////////
//
// Types defined for stripification
@@ -133,7 +135,7 @@ class NvEdgeInfo
}
// ref and unref
void Unref () { if (--m_refCount == 0) delete this; }
void Unref () { if (--m_refCount == 0) osgDelete this; }
// data members are left public
UINT m_refCount;