Undone utility function - not usable.

git-svn-id: http://yate.null.ro/svn/yate/trunk@699 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-02-21 16:02:59 +00:00
parent 77ef99f5c0
commit 3054913590
2 changed files with 0 additions and 17 deletions

View File

@ -407,16 +407,6 @@ void GenObject::destruct()
delete this;
}
void destruct(GenObject*& obj)
{
GenObject* tmp = obj;
obj = 0;
if (tmp)
tmp->destruct();
}
static Mutex s_refmutex;
RefObject::~RefObject()

View File

@ -1573,13 +1573,6 @@ private:
StringMatchPrivate* m_matches;
};
/**
* Utility function to destruct and zero out a @ref GenObject pointer
* @param obj Reference to the pointer to zero and destruct
*/
YATE_API void destruct(GenObject*& obj);
/**
* Utility function to replace NULL string pointers with an empty string
* @param str Pointer to a C string that may be NULL