Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264955 | Differences between
and this patch

Collapse All | Expand All

(-)src/common/classes/alloc.h.old (-9 / +2 lines)
Lines 48-53 Link Here
48
					   stdlib.h (EKU) */
48
					   stdlib.h (EKU) */
49
#endif
49
#endif
50
50
51
#include <new>
52
51
#ifdef _MSC_VER
53
#ifdef _MSC_VER
52
#define THROW_BAD_ALLOC
54
#define THROW_BAD_ALLOC
53
#else
55
#else
Lines 448-462 Link Here
448
	);
450
	);
449
}
451
}
450
452
451
inline void* operator new(size_t, void* ptr) throw() 
452
{
453
	return ptr;
454
}
455
inline void* operator new[](size_t, void* ptr) throw() 
456
{
457
	return ptr;
458
}
459
460
inline void operator delete(void* mem) throw()
453
inline void operator delete(void* mem) throw()
461
{
454
{
462
	Firebird::MemoryPool::globalFree(mem);
455
	Firebird::MemoryPool::globalFree(mem);

Return to bug 264955