summaryrefslogtreecommitdiff
path: root/ace/Message_Block.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r--ace/Message_Block.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h
index 560c261e553..193f203359b 100644
--- a/ace/Message_Block.h
+++ b/ace/Message_Block.h
@@ -354,8 +354,8 @@ private:
// actual memory buffer.
// = Disallow these operations for now (use <clone> instead).
- ACE_Message_Block &operator= (const ACE_Message_Block &);
- ACE_Message_Block (const ACE_Message_Block &);
+ ACE_UNIMPLEMENTED_FUNC (ACE_Message_Block &operator= (const ACE_Message_Block &));
+ ACE_UNIMPLEMENTED_FUNC (ACE_Message_Block (const ACE_Message_Block &));
};
class ACE_Export ACE_Data_Block
@@ -482,6 +482,10 @@ private:
// deep copies (i.e., <clone>). Note that this pointer value is
// shared by all owners of the <Data_Block>'s data, i.e., all the
// <ACE_Message_Block>s.
+
+ // = Disallow these operations.
+ ACE_UNIMPLEMENTED_FUNC (ACE_Data_Block &operator= (const ACE_Data_Block &));
+ ACE_UNIMPLEMENTED_FUNC (ACE_Data_Block (const ACE_Data_Block &));
};
#if defined (__ACE_INLINE__)