diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-11-14 23:10:48 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-11-14 23:10:48 +0000 |
commit | 00bd673d33b75b87416d96cc1bf6925502afd1ea (patch) | |
tree | ba7930b41e4ea6a5bb6f8f063ec5e2222e3c3e18 /cpp/src/Slice/CsUtil.cpp | |
parent | removing print statements (diff) | |
download | ice-00bd673d33b75b87416d96cc1bf6925502afd1ea.tar.bz2 ice-00bd673d33b75b87416d96cc1bf6925502afd1ea.tar.xz ice-00bd673d33b75b87416d96cc1bf6925502afd1ea.zip |
bug fix for sequence of struct
Diffstat (limited to 'cpp/src/Slice/CsUtil.cpp')
-rwxr-xr-x | cpp/src/Slice/CsUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/CsUtil.cpp b/cpp/src/Slice/CsUtil.cpp index edc3dfb95b9..c15c03ea2d6 100755 --- a/cpp/src/Slice/CsUtil.cpp +++ b/cpp/src/Slice/CsUtil.cpp @@ -789,7 +789,7 @@ Slice::CsGenerator::writeSequenceMarshalUnmarshalCode(Output& out, out << sb; if(isArray) { - if(st->hasMetaData("clr:class")) + if(!isValueType(st)) { out << nl << param << "[ix__] = new " << typeS << "();"; } |