summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2019-06-14 12:07:56 -0400
committerBernard Normier <bernard@zeroc.com>2019-06-14 12:07:56 -0400
commit511dc777643c66f9af20ca645a463ddea2ff071a (patch)
tree81b4364bbee9faa3e95e552c2cd7c700ab0bc708 /cpp/src/slice2swift/Gen.cpp
parentAdd doc comments to Input/Output stream extensions for enumerated types (diff)
downloadice-511dc777643c66f9af20ca645a463ddea2ff071a.tar.bz2
ice-511dc777643c66f9af20ca645a463ddea2ff071a.tar.xz
ice-511dc777643c66f9af20ca645a463ddea2ff071a.zip
Support for dispatch interceptors
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index b1bc67fa658..4ced089cfe6 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -1590,7 +1590,7 @@ Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
out << nl;
out << "public func dispatch";
out << spar;
- out << ("incoming inS: " + getUnqualified("Ice.Incoming", swiftModule));
+ out << ("request: " + getUnqualified("Ice.Request", swiftModule));
out << ("current: " + getUnqualified("Ice.Current", swiftModule));
out << epar;
out << " throws";
@@ -1607,11 +1607,11 @@ Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
if(opName == "ice_id" || opName == "ice_ids" || opName == "ice_isA" || opName == "ice_ping")
{
out << nl << "try (servant as? Object ?? " << disp << ".defaultObject)._iceD_"
- << opName << "(incoming: inS, current: current)";
+ << opName << "(incoming: request, current: current)";
}
else
{
- out << nl << "try servant._iceD_" << opName << "(incoming: inS, current: current)";
+ out << nl << "try servant._iceD_" << opName << "(incoming: request, current: current)";
}
out.dec();
}