summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-04-02 01:59:46 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-04-02 01:59:46 +0000
commit52b11eda396b84f89760d86726aa73343a67fb0b (patch)
tree45b66264f9bbad07888ce0eeec03426e60e431f1
parentd98be85772ff8e09f02c18d0f2ad97a47f313507 (diff)
downloadATCD-52b11eda396b84f89760d86726aa73343a67fb0b.tar.gz
Reverted the changes I made concerning explicitly disabling default
copy constructors and assugnment operators.
-rw-r--r--ace/Filecache.h6
-rw-r--r--ace/SString.h6
-rw-r--r--ace/Synch_Options.h6
-rw-r--r--ace/Trace.h6
4 files changed, 0 insertions, 24 deletions
diff --git a/ace/Filecache.h b/ace/Filecache.h
index 21feace033d..8a392c6f290 100644
--- a/ace/Filecache.h
+++ b/ace/Filecache.h
@@ -316,12 +316,6 @@ public:
};
private:
- ACE_Filecache_Object (const ACE_Filecache_Object &);
- ACE_Filecache_Object & operator= (const ACE_Filecache_Object & rhs);
- // Explicitly disallow use of implicitly generated copy
- // constructor and assignment operator to prevent inadvertent
- // memory leaks.
-
char *tempname_;
char filename_[MAXPATHLEN + 1];
// The temporary file name and the real file name. The real file is
diff --git a/ace/SString.h b/ace/SString.h
index cd1f7e2f488..4a9b3dd0e18 100644
--- a/ace/SString.h
+++ b/ace/SString.h
@@ -533,12 +533,6 @@ protected:
// preserve designator.
private:
- ACE_Tokenizer (const ACE_Tokenizer &);
- ACE_Tokenizer & operator= (const ACE_Tokenizer & rhs);
- // Explicitly disallow use of implicitly generated copy
- // constructor and assignment operator to prevent inadvertent
- // memory leaks.
-
LPTSTR buffer_;
int index_;
diff --git a/ace/Synch_Options.h b/ace/Synch_Options.h
index 2e3cb86f53e..2b40bf5d9e3 100644
--- a/ace/Synch_Options.h
+++ b/ace/Synch_Options.h
@@ -128,12 +128,6 @@ public:
// Declare the dynamic allocation hooks.
private:
- // ACE_Synch_Options (const ACE_Synch_Options &);
- ACE_Synch_Options & operator= (const ACE_Synch_Options & rhs);
- // Explicitly disallow use of implicitly generated copy
- // constructor and assignment operator to prevent inadvertent
- // memory leaks.
-
u_long options_;
// Keeps track of the enabled options.
diff --git a/ace/Trace.h b/ace/Trace.h
index 0ff0d32a3d6..e0f52b6d2df 100644
--- a/ace/Trace.h
+++ b/ace/Trace.h
@@ -57,12 +57,6 @@ public:
// Dump the state of an object.
private:
- ACE_Trace (const ACE_Trace &);
- ACE_Trace & operator= (const ACE_Trace & rhs);
- // Explicitly disallow use of implicitly generated copy
- // constructor and assignment operator to prevent inadvertent
- // memory leaks.
-
// Keeps track of how deeply the call stack is nested (this is
// maintained in thread-specific storage to ensure correctness in
// multiple threads of control.