summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index 6fa50c6d7e4..20f970ce8f0 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -2499,6 +2499,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << sp << nl << "public " << retS << " " << opName << spar << params << "Ice.Context __context" << epar;
_out << sb;
+#if 0
//
// TODO: Remove this hack once mcs is fixed.
//
@@ -2568,6 +2569,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << nl << "#endif";
_out.restoreIndent();
}
+#endif
_out << nl << "int __cnt = 0;";
_out << nl << "while(true)";