summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/SwiftUtil.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2019-03-18 14:31:29 -0400
committerJoe George <joe@zeroc.com>2019-03-18 14:31:29 -0400
commit7568dbe07368f4fc5c88ab19593d294401874889 (patch)
tree5c59fed7c6144a106016f8103c8ecc03de8255d5 /cpp/src/slice2swift/SwiftUtil.cpp
parentProxy unmarshaling cleanup for streaming (diff)
downloadice-7568dbe07368f4fc5c88ab19593d294401874889.tar.bz2
ice-7568dbe07368f4fc5c88ab19593d294401874889.tar.xz
ice-7568dbe07368f4fc5c88ab19593d294401874889.zip
Add ice_staticId and fix proxy unmarshaling func label
Diffstat (limited to 'cpp/src/slice2swift/SwiftUtil.cpp')
-rw-r--r--cpp/src/slice2swift/SwiftUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2swift/SwiftUtil.cpp b/cpp/src/slice2swift/SwiftUtil.cpp
index 71e8c21bbf8..1f7db4c4980 100644
--- a/cpp/src/slice2swift/SwiftUtil.cpp
+++ b/cpp/src/slice2swift/SwiftUtil.cpp
@@ -851,7 +851,7 @@ SwiftGenerator::writeMarshalUnmarshalCode(Output &out,
}
else
{
- unmarshalParam += ", prx: " + prxType;
+ unmarshalParam += ", type: " + prxType;
}
out << nl << assign << " = try " << stream << "read(" << unmarshalParam << ")";
}
@@ -968,7 +968,7 @@ SwiftGenerator::writeMarshalUnmarshalCode(Output &out,
}
else
{
- unmarshalParam += ", prx: " + prxType;
+ unmarshalParam += ", type: " + prxType;
}
out << nl << assign << " = try " << stream << "read(" << unmarshalParam << ")";
}