summaryrefslogtreecommitdiff
path: root/ace/Service_Object.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-27 12:45:21 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-27 12:45:21 +0000
commit83d35e13a747b93c5c182a1e3bf7c041d1e848f9 (patch)
tree3b7a6d06b32dfbc80bdbfb72fb676f0e5a37cdc6 /ace/Service_Object.i
parent063edce231a79400d37d1fdd4a074861bbf80398 (diff)
downloadATCD-83d35e13a747b93c5c182a1e3bf7c041d1e848f9.tar.gz
Use destroy instead of using delete directly.
Diffstat (limited to 'ace/Service_Object.i')
-rw-r--r--ace/Service_Object.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Service_Object.i b/ace/Service_Object.i
index c69670b5444..d978b576b27 100644
--- a/ace/Service_Object.i
+++ b/ace/Service_Object.i
@@ -11,7 +11,7 @@ ACE_INLINE ACE_Service_Object_Ptr::ACE_Service_Object_Ptr (ACE_Service_Object *s
ACE_INLINE ACE_Service_Object_Ptr::~ACE_Service_Object_Ptr (void)
{
this->service_object_->fini ();
- delete this->service_object_;
+ this->service_object_->destroy ();
}
ACE_INLINE ACE_Service_Object *