summaryrefslogtreecommitdiff
path: root/TAO/tao/Enum_TypeCode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Enum_TypeCode.cpp')
-rw-r--r--TAO/tao/Enum_TypeCode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Enum_TypeCode.cpp b/TAO/tao/Enum_TypeCode.cpp
index 3874f22ec50..976e39a28dd 100644
--- a/TAO/tao/Enum_TypeCode.cpp
+++ b/TAO/tao/Enum_TypeCode.cpp
@@ -25,7 +25,7 @@ TAO::TypeCode::Enum<StringType,
// Create a CDR encapsulation.
bool const success =
- (cdr << TAO_ENCAP_BYTE_ORDER)
+ (cdr << TAO_OutputCDR::from_boolean (TAO_ENCAP_BYTE_ORDER))
&& (cdr << this->base_attributes_.id ())
&& (cdr << this->base_attributes_.name ())
&& (cdr << this->nenumerators_);