summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/GenUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/GenUtil.cpp')
-rw-r--r--cpp/src/slice2cpp/GenUtil.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/slice2cpp/GenUtil.cpp b/cpp/src/slice2cpp/GenUtil.cpp
index 9fa50d2553c..96c480a89d3 100644
--- a/cpp/src/slice2cpp/GenUtil.cpp
+++ b/cpp/src/slice2cpp/GenUtil.cpp
@@ -303,8 +303,8 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
}
else
{
- out << nl << seq->scope() << "::__" << func << stream << ", " << param << ", " << seq->scope()
- << "::__U__" << seq->name() << "());";
+ out << nl << seq->scope() << "__" << func << stream << ", " << param << ", " << seq->scope()
+ << "__U__" << seq->name() << "());";
}
return;
}
@@ -312,8 +312,8 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
DictionaryPtr dict = DictionaryPtr::dynamicCast(type);
if (dict)
{
- out << nl << dict->scope() << "::__" << func << stream << ", " << param << ", " << dict->scope()
- << "::__U__" << dict->name() << "());";
+ out << nl << dict->scope() << "__" << func << stream << ", " << param << ", " << dict->scope()
+ << "__U__" << dict->name() << "());";
return;
}
@@ -328,7 +328,7 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
constructed = proxy->_class();
}
- out << nl << constructed->scope() << "::__" << func << stream << ", " << param << ");";
+ out << nl << constructed->scope() << "__" << func << stream << ", " << param << ");";
}
void