summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/ub_struct_seq.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-13 13:10:51 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-13 13:10:51 +0000
commit928bbbfc8b4d9608e156335e0bdfd6052a56a9e6 (patch)
tree093bec53dad89150ecfe180637b72c2fc7abe04b /TAO/tests/Param_Test/ub_struct_seq.cpp
parent33c228f513f8fcbfac259a7a9a95f0296639fadb (diff)
downloadATCD-928bbbfc8b4d9608e156335e0bdfd6052a56a9e6.tar.gz
Support for sequences of arrays and a param test to check the
functionality.
Diffstat (limited to 'TAO/tests/Param_Test/ub_struct_seq.cpp')
-rw-r--r--TAO/tests/Param_Test/ub_struct_seq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tests/Param_Test/ub_struct_seq.cpp b/TAO/tests/Param_Test/ub_struct_seq.cpp
index 77ef82ea22c..6c25e5863a6 100644
--- a/TAO/tests/Param_Test/ub_struct_seq.cpp
+++ b/TAO/tests/Param_Test/ub_struct_seq.cpp
@@ -55,7 +55,7 @@ Test_Struct_Sequence::dii_req_invoke (CORBA::Request *req,
}
int
-Test_Struct_Sequence::init_parameters (Param_Test_ptr ,
+Test_Struct_Sequence::init_parameters (Param_Test_ptr,
CORBA::Environment &)
{
Generator *gen = GENERATOR::instance (); // value generator
@@ -69,7 +69,7 @@ Test_Struct_Sequence::init_parameters (Param_Test_ptr ,
// now set each individual element
for (CORBA::ULong i = 0; i < this->in_.length (); i++)
{
- // generate some arbitrary string to be filled into the ith location in
+ // generate some arbitrary struct to be filled into the ith location in
// the sequence
this->in_[i] = gen->gen_fixed_struct ();
this->inout_[i] = gen->gen_fixed_struct ();
@@ -128,7 +128,7 @@ Test_Struct_Sequence::add_args (CORBA::NVList_ptr param_list,
0);
CORBA::Any out_arg (Param_Test::_tc_StructSeq,
- &this->out_.inout (), // .out () causes crash
+ &this->out_.inout (),
0);
// add parameters