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:
parent
feff755691
commit
ccc316dc1c
@ -40,14 +40,14 @@ operator new[](size_t size) throw (std::bad_alloc)
|
|||||||
|
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
operator delete(void *ptr)
|
operator delete(void *ptr) throw ()
|
||||||
{
|
{
|
||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
operator delete[](void *ptr)
|
operator delete[](void *ptr) throw ()
|
||||||
{
|
{
|
||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user