summaryrefslogtreecommitdiff
path: root/ace/Service_Object.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-04-01 23:23:10 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-04-01 23:23:10 +0000
commitd5b185bd2cba5dea6e24eae6ba656f828d3364a4 (patch)
tree92f31e65c54fd4ddef14531a8384b12374e2e5ab /ace/Service_Object.h
parent77f92ea4eb87c0a5bf5f8c48aa63f5facd608270 (diff)
downloadATCD-d5b185bd2cba5dea6e24eae6ba656f828d3364a4.tar.gz
See my ChangeLog entry from 1 April 1999.
Diffstat (limited to 'ace/Service_Object.h')
-rw-r--r--ace/Service_Object.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/Service_Object.h b/ace/Service_Object.h
index 0c73e2c20af..28179f828d9 100644
--- a/ace/Service_Object.h
+++ b/ace/Service_Object.h
@@ -105,6 +105,12 @@ public:
// Declare the dynamic allocation hooks.
private:
+ ACE_Service_Type (const ACE_Service_Type &);
+ ACE_Service_Type & operator= (const ACE_Service_Type & rhs);
+ // Explicitly disallow use of implicitly generated copy
+ // constructor and assignment operator to prevent inadvertent
+ // memory leaks.
+
const ASYS_TCHAR *name_;
// Humanly readible name of svc.
@@ -152,6 +158,12 @@ public:
// Smart pointer to access the underlying <ACE_Service_Object>.
private:
+ // ACE_Service_Object_Ptr (const ACE_Service_Object_Ptr &);
+ ACE_Service_Object_Ptr & operator= (const ACE_Service_Object_Ptr & rhs);
+ // Explicitly disallow use of implicitly generated copy
+ // constructor and assignment operator to prevent inadvertent
+ // memory leaks.
+
ACE_Service_Object *service_object_;
// Holds the service object until we're done.
};