summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/bd_str_seq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/bd_str_seq.cpp')
-rw-r--r--TAO/tests/Param_Test/bd_str_seq.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/tests/Param_Test/bd_str_seq.cpp b/TAO/tests/Param_Test/bd_str_seq.cpp
index 03feb93493b..c27afa3569f 100644
--- a/TAO/tests/Param_Test/bd_str_seq.cpp
+++ b/TAO/tests/Param_Test/bd_str_seq.cpp
@@ -92,20 +92,20 @@ Test_Bounded_String_Sequence::reset_parameters (void)
int
Test_Bounded_String_Sequence::run_sii_test (Param_Test_ptr objref,
- CORBA::Environment &env)
+ CORBA::Environment &ACE_TRY_ENV)
{
Param_Test::Bounded_StrSeq_out out (this->out_.out ());
this->ret_ = objref->test_bounded_strseq (this->in_.in (),
this->inout_.inout (),
out,
- env);
- return (env.exception () ? -1:0);
+ ACE_TRY_ENV);
+ return (ACE_TRY_ENV.exception () ? -1:0);
}
int
Test_Bounded_String_Sequence::add_args (CORBA::NVList_ptr param_list,
CORBA::NVList_ptr retval,
- CORBA::Environment &env)
+ CORBA::Environment &ACE_TRY_ENV)
{
CORBA::Any in_arg (Param_Test::_tc_Bounded_StrSeq,
(void *) &this->in_.in (),
@@ -123,23 +123,23 @@ Test_Bounded_String_Sequence::add_args (CORBA::NVList_ptr param_list,
param_list->add_value ("s1",
in_arg,
CORBA::ARG_IN,
- env);
+ ACE_TRY_ENV);
param_list->add_value ("s2",
inout_arg,
CORBA::ARG_INOUT,
- env);
+ ACE_TRY_ENV);
param_list->add_value ("s3",
out_arg,
CORBA::ARG_OUT,
- env);
+ ACE_TRY_ENV);
// add return value type
- retval->item (0, env)->value ()->replace (Param_Test::_tc_Bounded_StrSeq,
+ retval->item (0, ACE_TRY_ENV)->value ()->replace (Param_Test::_tc_Bounded_StrSeq,
&this->ret_.inout (), // see above
0, // does not own
- env);
+ ACE_TRY_ENV);
return 0;
}
@@ -166,9 +166,9 @@ Test_Bounded_String_Sequence::check_validity (void)
}
CORBA::Boolean
-Test_Bounded_String_Sequence::check_validity (CORBA::Request_ptr req)
+Test_Bounded_String_Sequence::check_validity (CORBA::Request_ptr /*req*/)
{
- ACE_UNUSED_ARG (req);
+ //ACE_UNUSED_ARG (req);
return this->check_validity ();
}