summaryrefslogtreecommitdiff
path: root/TAO/tao/Sequence.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Sequence.h')
-rw-r--r--TAO/tao/Sequence.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Sequence.h b/TAO/tao/Sequence.h
index df9364cd24d..bea630de1f4 100644
--- a/TAO/tao/Sequence.h
+++ b/TAO/tao/Sequence.h
@@ -455,7 +455,6 @@ public:
// ****************************************************************
-#if defined (TAO_NO_COPY_OCTET_SEQUENCES)
class ACE_Message_Block;
template<class T> class TAO_Unbounded_Sequence;
// forward declaration, we are going to specialize that template
@@ -535,6 +534,8 @@ public:
// = TAO extensions
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+
ACE_Message_Block* mb (void) const;
// Returns the underlying message block, the caller must *not*
// release the copy.
@@ -560,10 +561,9 @@ public:
private:
ACE_Message_Block* mb_;
+#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
};
-#endif /* defined (TAO_NO_COPY_OCTET_SEQUENCES) */
-
// ****************************************************************
// Comparison of octet sequence.