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:
Axel Dörfler 2003-02-25 15:05:32 +00:00
parent ceeb00d41a
commit 130798445f

View File

@ -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 */