diff options
author | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-12 08:27:42 +0000 |
---|---|---|
committer | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-12 08:27:42 +0000 |
commit | 76bd61c20f1ccb9f548d8fc05b0e63b583944e5e (patch) | |
tree | 8f6c94c5a0d0ba1acb740695940d9f644b40aa3e | |
parent | 2f23a98972de74091117f3f31f36f74b1e9dc56c (diff) | |
download | ATCD-76bd61c20f1ccb9f548d8fc05b0e63b583944e5e.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp index 59ff6f59767..afc76487baa 100644 --- a/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp @@ -62,7 +62,7 @@ be_visitor_union_any_op_cs::visit_union (be_union *node) << be_nl << "ACE_TRY_NEW_ENV" << be_nl << "{" << be_idt_nl; - + if (this->gen_insertion (os, node) != 0) return -1; @@ -113,10 +113,10 @@ be_visitor_union_any_op_cs::visit_union (be_union *node) << "ACE_NEW_RETURN (_tao_elem, " << node->name () << ", 0);" << be_nl << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" << be_nl; - + if (this->gen_extraction (os, node) != 0) return -1; - + *os << "return 1;" << be_uidt_nl << "}" << be_uidt_nl << "}" << be_nl @@ -222,7 +222,7 @@ gen_extraction (TAO_OutStream *os, << "((CORBA::Any *)&_tao_any)->_tao_replace (" << be_idt << be_idt_nl << node->tc_name () << "," << be_nl << "1," << be_nl - << "ACE_static_cast(void*,_tao_elem)," << be_nl + << "ACE_reinterpret_cast(void*,_tao_elem)," << be_nl << "ACE_TRY_ENV" << be_uidt_nl << ");" << be_uidt_nl << "ACE_TRY_CHECK;" << be_nl; |