summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CsUtil.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-01-12 10:51:17 -0330
committerMatthew Newhook <matthew@zeroc.com>2009-01-12 10:51:17 -0330
commit1d94690a0c0f425d06bfc39123da517808c82556 (patch)
tree5fe50487529df09f488d833f88b1f8d29015a9d0 /cpp/src/Slice/CsUtil.cpp
parentRemove unused variable. (diff)
downloadice-1d94690a0c0f425d06bfc39123da517808c82556.tar.bz2
ice-1d94690a0c0f425d06bfc39123da517808c82556.tar.xz
ice-1d94690a0c0f425d06bfc39123da517808c82556.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=3399 C# generated struct sequence marshaling bogus
Diffstat (limited to 'cpp/src/Slice/CsUtil.cpp')
-rw-r--r--cpp/src/Slice/CsUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/CsUtil.cpp b/cpp/src/Slice/CsUtil.cpp
index 2edb6aa8e39..a5d5c78a7e4 100644
--- a/cpp/src/Slice/CsUtil.cpp
+++ b/cpp/src/Slice/CsUtil.cpp
@@ -1119,7 +1119,7 @@ Slice::CsGenerator::writeSequenceMarshalUnmarshalCode(Output& out,
{
call += "_tmp";
}
- call += " == null ? new " + typeS + "() : " + param;
+ call += "[ix__] == null ? new " + typeS + "() : " + param;
if(isStack)
{
call += "_tmp";