Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 596012
Collapse All | Expand All

(-)sparky/c++/memalloc.cc.old (-2 / +8 lines)
Lines 39-45 Link Here
39
39
40
// ----------------------------------------------------------------------------
40
// ----------------------------------------------------------------------------
41
//
41
//
42
void *operator new(size_t size) throw(std::bad_alloc)
42
void *operator new(size_t size)
43
#if __cplusplus < 201103L
44
throw(std::bad_alloc)
45
#endif
43
{
46
{
44
  void *value = allocate(size);
47
  void *value = allocate(size);
45
  if (tracking_memory)
48
  if (tracking_memory)
Lines 72-78 Link Here
72
75
73
// ----------------------------------------------------------------------------
76
// ----------------------------------------------------------------------------
74
//
77
//
75
void *operator new[](size_t size) throw(std::bad_alloc)
78
void *operator new[](size_t size)
79
#if __cplusplus < 201103L
80
throw(std::bad_alloc)
81
#endif
76
{
82
{
77
  void *value = allocate(size);
83
  void *value = allocate(size);
78
  if (tracking_memory)
84
  if (tracking_memory)

Return to bug 596012