summaryrefslogtreecommitdiff
path: root/TAO/tao/Vector_CDR_T.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-21 15:21:32 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-21 15:21:32 +0000
commitb11dd5a3d674969983965758adbb7148c57c6a56 (patch)
tree60ea932e02be9220397e4705704495c3a52fdc03 /TAO/tao/Vector_CDR_T.h
parent7e3b13c8e5bbd35f387ffe602d768a1961152ea5 (diff)
downloadATCD-b11dd5a3d674969983965758adbb7148c57c6a56.tar.gz
ChangeLogTag: Mon Jun 21 15:20:26 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Vector_CDR_T.h')
-rw-r--r--TAO/tao/Vector_CDR_T.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/TAO/tao/Vector_CDR_T.h b/TAO/tao/Vector_CDR_T.h
index 3a3b84adcd9..12db4daa1d3 100644
--- a/TAO/tao/Vector_CDR_T.h
+++ b/TAO/tao/Vector_CDR_T.h
@@ -91,7 +91,8 @@ namespace TAO
return false;
}
- for (std::vector<T::_ptr_type>::const_iterator i = source.begin ();
+ for (std::vector<typename T::_ptr_type>::const_iterator i =
+ source.begin ();
i != source.end ();
++i)
{
@@ -146,9 +147,9 @@ namespace TAO
TAO_OutputCDR &strm,
const std::vector<typename T_forany::_slice_type *> &source)
{
- typedef TAO_FixedArray_Var_T <T_forany::_array_type,
- T_forany::_slice_type,
- T_forany::_tag_type> var_type;
+ typedef TAO_FixedArray_Var_T <typename T_forany::_array_type,
+ typename T_forany::_slice_type,
+ typename T_forany::_tag_type> var_type;
::CORBA::ULong const length = source.size ();
if (! (strm << length))
@@ -156,7 +157,8 @@ namespace TAO
return false;
}
- for (std::vector<T_forany::_slice_type *> i = source.begin ();
+ for (std::vector<typename T_forany::_slice_type *> i =
+ source.begin ();
i != source.end ();
++i)
{
@@ -192,7 +194,7 @@ namespace TAO
return false;
}
- std::vector<T_forany::_slice_type *> tmp_vec;
+ std::vector<typename T_forany::_slice_type *> tmp_vec;
tmp_vec.reserve (new_length);
for ( ::CORBA::ULong i = 0; i < new_length; ++i)