diff --git a/src/add-ons/kernel/file_systems/bfs/cpp.h b/src/add-ons/kernel/file_systems/bfs/cpp.h index 21c75d9e48..f0e8aaa709 100644 --- a/src/add-ons/kernel/file_systems/bfs/cpp.h +++ b/src/add-ons/kernel/file_systems/bfs/cpp.h @@ -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 */