diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp index 59156205438..ebd1d84b68e 100644 --- a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp @@ -115,9 +115,6 @@ int be_visitor_union_cs::visit_union (be_union *node) this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - // So we know we are generating the copy constructor - this->ctx_->sub_state (TAO_CodeGen::TAO_UNION_COPY_CONSTRUCTOR); - *os << "// copy constructor" << be_nl; *os << node->name () << "::" << node->local_name () << " (const " << node->name () << " &u)" << be_nl @@ -156,9 +153,6 @@ int be_visitor_union_cs::visit_union (be_union *node) this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - // Reset this for generating the assignment operator. - this->ctx_->sub_state (TAO_CodeGen::TAO_SUB_STATE_UNKNOWN); - // assignment operator os->indent (); *os << "// assignment operator" << be_nl; |