From a3d87ff623a136039f35bc29dcbc4c82fb1371a6 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 28 Nov 2002 13:42:44 +0000 Subject: [PATCH] Comeau-specific fix. [SVN r16456] --- shared_ptr_test.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shared_ptr_test.cpp b/shared_ptr_test.cpp index 9f32175..4f0fe39 100644 --- a/shared_ptr_test.cpp +++ b/shared_ptr_test.cpp @@ -2782,7 +2782,11 @@ public: private: - void operator delete(void *); + void operator delete(void *) + { + // Comeau 4.3.0.1 wants a definition + BOOST_ERROR("n_spt_static::X::operator delete() called."); + } }; struct null_deleter