From e458956074c374dd9635b6da2e508cfc1de799bc Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 23 Aug 2005 10:26:31 +0000 Subject: ChangeLogTag: Tue Aug 23 10:03:12 UTC 2005 Johnny Willemsen --- TAO/tao/DynamicInterface/Request.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'TAO/tao/DynamicInterface/Request.cpp') diff --git a/TAO/tao/DynamicInterface/Request.cpp b/TAO/tao/DynamicInterface/Request.cpp index 5e57536a687..f51f0d9f126 100644 --- a/TAO/tao/DynamicInterface/Request.cpp +++ b/TAO/tao/DynamicInterface/Request.cpp @@ -145,8 +145,6 @@ CORBA::Request::invoke (ACE_ENV_SINGLE_ARG_DECL) const CORBA::Boolean argument_flag = this->args_->_lazy_has_arguments (); - size_t number_args = 0; - TAO::NamedValue_Argument _tao_retval (this->result_); @@ -158,6 +156,8 @@ CORBA::Request::invoke (ACE_ENV_SINGLE_ARG_DECL) &_tao_in_list }; + int number_args = 0; + if (argument_flag) number_args = 2; else @@ -167,7 +167,7 @@ CORBA::Request::invoke (ACE_ENV_SINGLE_ARG_DECL) this->target_, _tao_arg_list, number_args, - const_cast (this->opname_), + this->opname_, static_cast (ACE_OS::strlen (this->opname_)), this->exceptions_.in (), this); @@ -190,8 +190,6 @@ CORBA::Request::send_oneway (ACE_ENV_SINGLE_ARG_DECL) const CORBA::Boolean argument_flag = this->args_->_lazy_has_arguments (); - size_t number_args = 0; - TAO::NamedValue_Argument _tao_retval (this->result_); @@ -203,6 +201,8 @@ CORBA::Request::send_oneway (ACE_ENV_SINGLE_ARG_DECL) &_tao_in_list }; + int number_args = 0; + if (argument_flag) number_args = 2; else @@ -212,7 +212,7 @@ CORBA::Request::send_oneway (ACE_ENV_SINGLE_ARG_DECL) this->target_, _tao_arg_list, number_args, - const_cast (this->opname_), + this->opname_, static_cast (ACE_OS::strlen (this->opname_)), 0, TAO::TAO_ONEWAY_INVOCATION); @@ -246,7 +246,7 @@ CORBA::Request::send_deferred (ACE_ENV_SINGLE_ARG_DECL) &_tao_in_list }; - size_t number_args = 0; + int number_args = 0; if (argument_flag) number_args = 2; @@ -257,7 +257,7 @@ CORBA::Request::send_deferred (ACE_ENV_SINGLE_ARG_DECL) this->target_, _tao_arg_list, number_args, - const_cast (this->opname_), + this->opname_, static_cast (ACE_OS::strlen (this->opname_)), 0, this->orb_->orb_core (), -- cgit v1.2.1