Our <new> lets delete throw __nothing - kernel_cpp.h now reflects this,

although I might change this issue after having had a look at the PPC
compilation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4471 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-09-03 14:57:55 +00:00
parent feff755691
commit ccc316dc1c
1 changed files with 2 additions and 2 deletions

View File

@ -40,14 +40,14 @@ operator new[](size_t size) throw (std::bad_alloc)
inline void
operator delete(void *ptr)
operator delete(void *ptr) throw ()
{
free(ptr);
}
inline void
operator delete[](void *ptr)
operator delete[](void *ptr) throw ()
{
free(ptr);
}