summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp
index 80ce04b3f3f..4a2479fa48d 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp
@@ -65,18 +65,17 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (
// get_strategy() impementation.
*os << "TAO::Collocation_Strategy" << be_nl
- << node->full_strategized_proxy_broker_name () << "::"
+ <<node->full_strategized_proxy_broker_name () << "::"
<< "get_strategy (" << be_idt << be_idt_nl
- << "::CORBA::Object_ptr obj" << env_decl << be_uidt_nl
+ << "::CORBA::Object_ptr obj" << be_nl
+ << "ACE_ENV_ARG_DECL" << be_uidt_nl
<< ")" << be_nl
<< "ACE_THROW_SPEC (( ::CORBA::SystemException))" << be_uidt_nl
<< "{" << be_idt_nl
<< "TAO::Collocation_Strategy strategy =" << be_idt_nl
- << "TAO_ORB_Core::collocation_strategy (obj"
- << (be_global->use_raw_throw () ? "" : " ACE_ENV_ARG_PARAMETER")
- << ");" << be_uidt
- << TAO_ACE_CHECK ("TAO::TAO_CS_REMOTE_STRATEGY")
- << be_nl << be_nl
+ << "TAO_ORB_Core::collocation_strategy (obj ACE_ENV_ARG_PARAMETER);"
+ << be_uidt_nl
+ << "ACE_CHECK_RETURN (TAO::TAO_CS_REMOTE_STRATEGY);" << be_nl << be_nl
<< "return strategy;" << be_uidt_nl
<< "}" << be_nl << be_nl;
@@ -90,20 +89,21 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (
<< "int num_args," << be_nl
<< "const char * op," << be_nl
<< "size_t op_len," << be_nl
- << "TAO::Collocation_Strategy strategy" << env_decl << be_uidt_nl
+ << "TAO::Collocation_Strategy strategy" << be_nl
+ << "ACE_ENV_ARG_DECL" << be_uidt_nl
<< ")" << be_nl
<< "ACE_THROW_SPEC (( ::CORBA::Exception))" << be_uidt_nl
<< "{" << be_idt_nl
<< "TAO::Direct_Collocation_Upcall_Wrapper collocation_upcall_wrapper;" << be_nl
<< "collocation_upcall_wrapper.upcall (" << be_idt_nl
- << "obj," << be_nl
- << "forward_obj," << be_nl
- << "args," << be_nl
- << "num_args," << be_nl
- << "op," << be_nl
- << "op_len," << be_nl
- << "strategy" << env_arg
- << ");" << be_uidt << be_uidt_nl
+ << "obj, " << be_nl
+ << "forward_obj, " << be_nl
+ << "args, " << be_nl
+ << "num_args, " << be_nl
+ << "op, " << be_nl
+ << "op_len, " << be_nl
+ << "strategy " << be_nl
+ << "ACE_ENV_ARG_PARAMETER);" << be_uidt << be_uidt_nl
<< "}";
*os << be_nl << be_nl