summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/SwiftUtil.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-03-13 16:08:59 +0100
committerJose <jose@zeroc.com>2019-03-13 16:08:59 +0100
commit069af6844420181a31518cf04b739f9590409535 (patch)
treef01b46ee5fb8b516a5b37b0482df91bc9e0a01ce /cpp/src/slice2swift/SwiftUtil.cpp
parentStream test updates (diff)
downloadice-069af6844420181a31518cf04b739f9590409535.tar.bz2
ice-069af6844420181a31518cf04b739f9590409535.tar.xz
ice-069af6844420181a31518cf04b739f9590409535.zip
Fix Sequence/Dictionary helper names
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 bc5ed77ce3b..13033a19db3 100644
--- a/cpp/src/slice2swift/SwiftUtil.cpp
+++ b/cpp/src/slice2swift/SwiftUtil.cpp
@@ -982,7 +982,7 @@ SwiftGenerator::writeMarshalUnmarshalCode(Output &out,
}
else
{
- string helper = "_" + typeStr + "Helper";
+ string helper = typeStr + "Helper";
if(marshal)
{
out << nl << helper <<".write";
@@ -1008,7 +1008,7 @@ SwiftGenerator::writeMarshalUnmarshalCode(Output &out,
if(DictionaryPtr::dynamicCast(type))
{
- string helper = "_" + typeStr + "Helper";
+ string helper = typeStr + "Helper";
if(marshal)
{
out << nl << helper << ".write";