summaryrefslogtreecommitdiff
path: root/TAO/tao/Bounded_Sequence_CDR_T.h
diff options
context:
space:
mode:
authorsmcqueen <smcqueen@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-10-22 17:41:08 +0000
committersmcqueen <smcqueen@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-10-22 17:41:08 +0000
commit185ec67b508640178dea8382e6dbfb03efb1a75f (patch)
tree13203e779ef4058c1ee84efaf68854a6a5fcdd87 /TAO/tao/Bounded_Sequence_CDR_T.h
parent2a075741a64813d7702da7056746f7ff5c71661f (diff)
downloadATCD-185ec67b508640178dea8382e6dbfb03efb1a75f.tar.gz
ChangeLogTag: Wed Oct 22 17:37:26 UTC 2008 Simon McQueen <sm@prismtech.com>
Diffstat (limited to 'TAO/tao/Bounded_Sequence_CDR_T.h')
-rw-r--r--TAO/tao/Bounded_Sequence_CDR_T.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/TAO/tao/Bounded_Sequence_CDR_T.h b/TAO/tao/Bounded_Sequence_CDR_T.h
index b913c832ec5..57565704c77 100644
--- a/TAO/tao/Bounded_Sequence_CDR_T.h
+++ b/TAO/tao/Bounded_Sequence_CDR_T.h
@@ -303,7 +303,6 @@ namespace TAO {
template <typename stream, typename charT, CORBA::ULong MAX>
bool demarshal_sequence(stream & strm, TAO::bounded_basic_string_sequence <charT, MAX> & target) {
typedef typename TAO::bounded_basic_string_sequence <charT, MAX> sequence;
- typedef typename sequence::element_traits::string_var string_var;
::CORBA::ULong new_length = 0;
if (!(strm >> new_length)) {
return false;
@@ -314,13 +313,9 @@ namespace TAO {
sequence tmp;
tmp.length(new_length);
for(CORBA::ULong i = 0; i < new_length; ++i) {
- string_var string;
- if (!(strm >> string.inout ())) {
+ if (!(strm >> tmp[i].out ())) {
return false;
}
- else {
- tmp[i] = string._retn ();
- }
}
tmp.swap(target);
return true;