summaryrefslogtreecommitdiff
path: root/tests/DLL_Test_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DLL_Test_Impl.cpp')
-rw-r--r--tests/DLL_Test_Impl.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/DLL_Test_Impl.cpp b/tests/DLL_Test_Impl.cpp
index 4e1af9eb76c..87ed155dcc9 100644
--- a/tests/DLL_Test_Impl.cpp
+++ b/tests/DLL_Test_Impl.cpp
@@ -70,16 +70,6 @@ Hello_Impl::operator new (size_t bytes, const ACE_nothrow_t &nt)
ACE_DEBUG ((LM_INFO, "Hello_Impl::new\n"));
return ::new (nt) char[bytes];
}
-
-#if !defined (ACE_LACKS_PLACEMENT_OPERATOR_DELETE)
-void
-Hello_Impl::operator delete (void *ptr, const ACE_nothrow_t&) throw ()
-{
- ACE_DEBUG ((LM_INFO, "Hello_Impl::delete\n"));
- ::delete [] static_cast<char *> (ptr);
-}
-#endif /* ACE_LACKS_PLACEMENT_OPERATOR_DELETE */
-
#endif /* ACE_HAS_NEW_NOTHROW */
void
@@ -143,5 +133,5 @@ dynamic_cast_test (Parent *target)
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("dynamic_cast_test: parent %@; child %@\n"),
target, c));
return target == c ? 0 : -1;
-}
+}
#endif /* !ACE_LACKS_RTTI */