Changeset 3425c2 in git
- Timestamp:
- Oct 28, 2008, 9:46:23 AM (15 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 64673de81523472d3c1ad8cd02fb82abd79973c9
- Parents:
- 3fe8ed4d13cc002b2f0fb89d6eeacd9ee3f7a568
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/newdelete.cc
r3fe8ed4 r3425c2 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: newdelete.cc,v 1. 3 2008-10-25 11:04:06Singular Exp $ */2 /* $Id: newdelete.cc,v 1.4 2008-10-28 08:46:23 Singular Exp $ */ 3 3 4 4 #include <config.h> 5 #include <new> 5 6 6 7 #include "assert.h" … … 53 54 } 54 55 55 void * operator new(size_t size, const std::nothrow_t &) throw()56 void * operator new(size_t size, std::nothrow_t) throw() 56 57 { 57 58 return getBlock( size ); 58 59 } 59 void * operator new[](size_t size, const std::nothrow_t &) throw()60 void * operator new[](size_t size, std::nothrow_t) throw() 60 61 { 61 62 return getBlock( size ); … … 84 85 } 85 86 86 void * operator new(size_t size, const std::nothrow_t 87 void * operator new(size_t size, const std::nothrow_t&) throw() 87 88 { 88 89 return mmAlloc( size ); 89 90 } 90 void * operator new[](size_t size, const std::nothrow_t 91 void * operator new[](size_t size, const std::nothrow_t&) throw() 91 92 { 92 93 return mmAlloc( size );
Note: See TracChangeset
for help on using the changeset viewer.