mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 77549 leaky.h and leaky.cpp disagree on definition of ::new
r=dmose sr=darin a=asa
This commit is contained in:
parent
36affd5a4f
commit
30484c4cec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user