summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
index 7ab84eeda93..45ec707fa93 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
@@ -212,7 +212,6 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
<< "return 0;" << be_uidt << be_uidt << be_uidt_nl
<< "}\n\n";
- // the downcast method.
os->indent ();
*os << "void* " << node->full_skel_name ()
<< "::_downcast (" << be_idt << be_idt_nl
@@ -283,25 +282,10 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
// << "if (ACE_TRY_ENV.exception () != 0)" << be_idt_nl
// << "return 0;" << be_uidt_nl
<< "return new " << node->full_coll_name ()
- << " (this, stub);" << be_uidt_nl;
+ << " (this, stub);" << be_uidt << be_nl;
*os << "}\n\n";
- // the _create_collocated_objref method
- *os << "void*" << be_nl
- << node->full_skel_name ()
- << "::_create_collocated_objref (const char* repository_id, "
- << "CORBA::ULong type, TAO_Stub *stub)" << be_nl
- << "{" << be_idt_nl
- << "if (!ACE_OS::strcmp (\"" << node->repoID ()
- << "\", repository_id))" << be_idt_nl
- << "return ACE_reinterpret_cast (" << be_idt << be_idt_nl
- << node->name () << "_ptr," << be_nl
- << "new " << node->full_coll_name () << " (this, stub)" << be_uidt_nl
- << ");" << be_uidt << be_uidt_nl
- << "return 0;" << be_uidt_nl
- << "}" << be_nl << be_nl;
-
// generate the collocated class impl
be_visitor_context ctx (*this->ctx_);
ctx.state (TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS);