summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index 24df02af591..dabd6389136 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -2203,25 +2203,6 @@ Slice::Gen::TypesVisitor::visitStructEnd(const StructPtr& p)
_out << "s";
_out << sp << nl << "public " << name << "()";
_out << sb;
- /*
- if(!p->isLocal())
- {
- for(q = dataMembers.begin(); q != dataMembers.end(); ++q)
- {
- if(!isValueType((*q)->type()))
- {
- string memberName = fixId((*q)->name(), isClass ? DotNet::ICloneable : 0);
- string memberType = typeToString((*q)->type());
- _out << nl << "this." << memberName;
- if(propertyMapping)
- {
- _out << "_prop";
- }
- _out << " = new " << memberType << "();";
- }
- }
- }
- */
_out << eb;
}