mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
remove O4 new/delete redirection
This commit is contained in:
parent
54b693ce23
commit
6bfc2cafc7
@ -120,6 +120,8 @@ INLINE void operator delete[](void *ptr) throw() {
|
|||||||
(*global_operator_delete)(ptr);
|
(*global_operator_delete)(ptr);
|
||||||
}
|
}
|
||||||
#else // GLOBAL_OPERATOR_NEW_EXCEPTIONS
|
#else // GLOBAL_OPERATOR_NEW_EXCEPTIONS
|
||||||
|
|
||||||
|
/* at O4 should these even be here?
|
||||||
INLINE void *operator new(size_t size) {
|
INLINE void *operator new(size_t size) {
|
||||||
return (*global_operator_new)(size);
|
return (*global_operator_new)(size);
|
||||||
}
|
}
|
||||||
@ -133,6 +135,7 @@ INLINE void operator delete(void *ptr) {
|
|||||||
INLINE void operator delete[](void *ptr) {
|
INLINE void operator delete[](void *ptr) {
|
||||||
(*global_operator_delete)(ptr);
|
(*global_operator_delete)(ptr);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#endif // GLOBAL_OPERATOR_NEW_EXCEPTIONS
|
#endif // GLOBAL_OPERATOR_NEW_EXCEPTIONS
|
||||||
#endif // NDEBUG
|
#endif // NDEBUG
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user