Followed Ingo's suggestions and removed the "nothrow" stuff completely - since
we are explicitely compiling with -fno-exceptions, there shouldn't be any problems. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2844 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ceeb00d41a
commit
130798445f
@ -23,14 +23,14 @@
|
||||
|
||||
|
||||
inline void *
|
||||
operator new(size_t size, const nothrow_t&) throw()
|
||||
operator new(size_t size)
|
||||
{
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
|
||||
inline void *
|
||||
operator new[](size_t size, const nothrow_t&) throw()
|
||||
operator new[](size_t size)
|
||||
{
|
||||
return malloc(size);
|
||||
}
|
||||
@ -52,8 +52,5 @@ operator delete[](void *ptr)
|
||||
// we're using virtuals
|
||||
extern "C" void __pure_virtual();
|
||||
|
||||
// we are only using the nothrow-version of new
|
||||
#define new new (nothrow)
|
||||
|
||||
|
||||
#endif /* CPP_H */
|
||||
|
Loading…
Reference in New Issue
Block a user