diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp index a898b868ff2..33402290f7a 100644 --- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp @@ -113,11 +113,6 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node) << be_uidt_nl << "{" << be_idt_nl - << "if (0 == &_tao_elem) // Trying to de-reference NULL object" << be_idt_nl - << "_tao_any <<= static_cast< ::" << node->name () << " *>( 0 ); " - << "// Use non-copying insertion of a NULL" << be_uidt_nl - << "else" << be_idt_nl - << "TAO::Any_Dual_Impl_T< ::" << node->name () << ">::insert_copy (" << be_idt << be_idt_nl << "_tao_any," << be_nl @@ -191,10 +186,6 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node) << be_uidt_nl << "{" << be_idt_nl - << "if (0 == &_tao_elem) // Trying to de-reference NULL object" << be_idt_nl - << "_tao_any <<= static_cast<" << node->name () << " *>( 0 ); // Use non-copying insertion of a NULL" << be_uidt_nl - << "else" << be_idt_nl - << "TAO::Any_Dual_Impl_T<" << node->name () << ">::insert_copy (" << be_idt_nl << "_tao_any," << be_nl |