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:
parent
77ef99f5c0
commit
3054913590
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue