diff options
author | Steve Huston <shuston@riverace.com> | 2002-05-01 19:59:37 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-05-01 19:59:37 +0000 |
commit | c8a0c90ea8d3ca146fbf537292cd2f98bd4822af (patch) | |
tree | 2e5a0f0cb941df207402f5d7e28699d93ed93aab /tests/DLL_Test_Impl.h | |
parent | c1099705b9aed1815c138e872b7f064bf659236d (diff) | |
download | ATCD-c8a0c90ea8d3ca146fbf537292cd2f98bd4822af.tar.gz |
ChangeLogTag:Wed May 1 15:49:33 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'tests/DLL_Test_Impl.h')
-rw-r--r-- | tests/DLL_Test_Impl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/DLL_Test_Impl.h b/tests/DLL_Test_Impl.h index 8478ce8916c..11505a5085b 100644 --- a/tests/DLL_Test_Impl.h +++ b/tests/DLL_Test_Impl.h @@ -51,7 +51,15 @@ public: // created/deleted using the memory allocator associated with the // DLL/SO. void *operator new (size_t bytes); + +#if defined (ACE_HAS_NEW_NOTHROW) + /// Overloaded new operator, nothrow_t variant. + void *operator new (size_t bytes, const ACE_nothrow_t &nt); +#endif /* ACE_HAS_NEW_NOTHROW */ +#if !defined (ACE_LACKS_PLACEMENT_OPERATOR_DELETE) void operator delete (void *ptr); +#endif /* ACE_LACKS_PLACEMENT_OPERATOR_DELETE */ + }; #endif /* ACE_TESTS_DLL_TEST_IMPL_H */ |