diff options
Diffstat (limited to 'cpp/src/slice2swift/SwiftUtil.cpp')
-rw-r--r-- | cpp/src/slice2swift/SwiftUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2swift/SwiftUtil.cpp b/cpp/src/slice2swift/SwiftUtil.cpp index 38b7fc9340b..5623ddea445 100644 --- a/cpp/src/slice2swift/SwiftUtil.cpp +++ b/cpp/src/slice2swift/SwiftUtil.cpp @@ -1853,9 +1853,9 @@ SwiftGenerator::writeProxyAsyncOperation(::IceUtilInternal::Output& out, const O } } out << "context: " + getUnqualified("Ice.Context", swiftModule) + "? = nil"; - out << "sent: ((Swift.Bool) -> Swift.Void)? = nil"; out << "sentOn: Dispatch.DispatchQueue? = PromiseKit.conf.Q.return"; out << "sentFlags: Dispatch.DispatchWorkItemFlags? = nil"; + out << "sent: ((Swift.Bool) -> Swift.Void)? = nil"; out << epar; out << " -> PromiseKit.Promise<"; @@ -1909,9 +1909,9 @@ SwiftGenerator::writeProxyAsyncOperation(::IceUtilInternal::Output& out, const O } out << nl << "context: context,"; - out << nl << "sent: sent,"; out << nl << "sentOn: sentOn,"; - out << nl << "sentFlags: sentFlags)"; + out << nl << "sentFlags: sentFlags,"; + out << nl << "sent: sent)"; out.restoreIndent(); out << eb; |