Added default new operators to the F_Object class - ones without file and line number.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@633 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -5598,6 +5598,21 @@ void * F_Object::operator new(
|
||||
return( pvReturnPtr);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Desc:
|
||||
****************************************************************************/
|
||||
void * F_Object::operator new(
|
||||
FLMSIZET uiSize)
|
||||
#ifndef FLM_WATCOM_NLM
|
||||
throw()
|
||||
#endif
|
||||
{
|
||||
void * pvReturnPtr = NULL;
|
||||
|
||||
f_allocImp( uiSize, &pvReturnPtr, TRUE, NULL, 0);
|
||||
return( pvReturnPtr);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Desc:
|
||||
****************************************************************************/
|
||||
@@ -5615,6 +5630,21 @@ void * F_Object::operator new[](
|
||||
return( pvReturnPtr);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Desc:
|
||||
****************************************************************************/
|
||||
void * F_Object::operator new[](
|
||||
FLMSIZET uiSize)
|
||||
#ifndef FLM_WATCOM_NLM
|
||||
throw()
|
||||
#endif
|
||||
{
|
||||
void * pvReturnPtr = NULL;
|
||||
|
||||
f_allocImp( uiSize, &pvReturnPtr, TRUE, NULL, 0);
|
||||
return( pvReturnPtr);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Desc:
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user