summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/SwiftUtil.cpp
diff options
context:
space:
mode:
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";