diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-09 17:26:47 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-09 17:26:47 +0000 |
commit | d708d585b7e99646ef5658f3a108490ead488829 (patch) | |
tree | 54b88f1253260782677bb98d1a9e409da7b4f2a2 /ace/Message_Block.h | |
parent | 7dfc770e78bd87a55209a75ff8a2f69ce8d7c90a (diff) | |
download | ATCD-d708d585b7e99646ef5658f3a108490ead488829.tar.gz |
privatize ctor and operator=.
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r-- | ace/Message_Block.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h index 93c6f10fff7..dc7f989bcab 100644 --- a/ace/Message_Block.h +++ b/ace/Message_Block.h @@ -409,6 +409,7 @@ protected: // Pointer to the reference counted data structure that contains the // actual memory buffer. +private: // = Disallow these operations for now (use <clone> instead). ACE_Message_Block &operator= (const ACE_Message_Block &); ACE_Message_Block (const ACE_Message_Block &); @@ -562,6 +563,7 @@ protected: ACE_Allocator *data_block_allocator_; // The allocator use to destroy ourselves. +private: // = Disallow these operations. ACE_Data_Block &operator= (const ACE_Data_Block &); ACE_Data_Block (const ACE_Data_Block &); |