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