diff options
author | Michi Henning <michi@zeroc.com> | 2005-11-15 19:03:54 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-11-15 19:03:54 +0000 |
commit | 7d356f11f0ac4564089153e779501af933e63f1c (patch) | |
tree | 433e6881067cc03a6e6fac10373f5ce13b6713d5 /cpp/src/Slice/VbUtil.cpp | |
parent | Fix getAdapterReady() (diff) | |
download | ice-7d356f11f0ac4564089153e779501af933e63f1c.tar.bz2 ice-7d356f11f0ac4564089153e779501af933e63f1c.tar.xz ice-7d356f11f0ac4564089153e779501af933e63f1c.zip |
Propagated fix from CsUtil.cs for structs mapped to classes.
Diffstat (limited to 'cpp/src/Slice/VbUtil.cpp')
-rwxr-xr-x | cpp/src/Slice/VbUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/VbUtil.cpp b/cpp/src/Slice/VbUtil.cpp index 334249907f6..8c2677bc9f3 100755 --- a/cpp/src/Slice/VbUtil.cpp +++ b/cpp/src/Slice/VbUtil.cpp @@ -827,7 +827,7 @@ Slice::VbGenerator::writeSequenceMarshalUnmarshalCode(Output& out, out.inc(); if(isArray) { - if(st->hasMetaData("clr:class")) + if(!isValueType(st)) { out << nl << param << "(ix__) = New " << typeS; } |