remove O4 new/delete redirection

This commit is contained in:
cxgeorge 2002-01-17 01:43:21 +00:00
parent 54b693ce23
commit 6bfc2cafc7

View File

@ -120,6 +120,8 @@ INLINE void operator delete[](void *ptr) throw() {
(*global_operator_delete)(ptr);
}
#else // GLOBAL_OPERATOR_NEW_EXCEPTIONS
/* at O4 should these even be here?
INLINE void *operator new(size_t size) {
return (*global_operator_new)(size);
}
@ -133,6 +135,7 @@ INLINE void operator delete(void *ptr) {
INLINE void operator delete[](void *ptr) {
(*global_operator_delete)(ptr);
}
*/
#endif // GLOBAL_OPERATOR_NEW_EXCEPTIONS
#endif // NDEBUG