summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp
index b3fc996b4cd..24941e54591 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp
@@ -133,8 +133,7 @@ be_visitor_structure_cdr_op_ci::post_process (be_decl *bd)
{
TAO_OutStream *os = this->ctx_->stream ();
- if (!this->last_node (bd)
- && bd->node_type () != AST_Decl::NT_enum_val)
+ if (!this->last_node (bd))
{
switch (this->ctx_->sub_state ())
{