summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index e21d35e32d5..86d25b75bad 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -866,26 +866,6 @@ Gen::ProxyVisitor::visitClassDefStart(const ClassDefPtr& p)
out << nl << "return " << prxI << ".uncheckedCast(prx: prx, facet: facet, context: context) as " << prxI << "?";
out << eb;
- //
- // InputStream extension
- //
- out << sp;
- out << nl << "public extension " << getUnqualified("Ice.InputStream", swiftModule);
- out << sb;
-
- out << nl << "func read() throws -> " << prx << "?";
- out << sb;
- out << nl << "return try read() as " << prxI << "?";
- out << eb;
-
- out << sp;
- out << nl << "func read(tag: Int32) throws -> " << prx << "?";
- out << sb;
- out << nl << "return try read(tag: tag) as " << prxI << "?";
- out << eb;
-
- out << eb;
-
out << sp;
out << nl << "public extension " << prx;
out << sb;