Bug 77549 leaky.h and leaky.cpp disagree on definition of ::new

r=dmose sr=darin a=asa
This commit is contained in:
timeless%mac.com 2002-03-27 03:25:19 +00:00
parent 36affd5a4f
commit 30484c4cec

View File

@ -50,7 +50,11 @@ struct TreeNode {
u_long bytesLeaked;
u_long descendantBytesLeaked;
void* operator new(size_t size);
void* operator new(size_t size)
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
throw()
#endif
;
void operator delete(void* ptr);
static TreeNode* freeList;