summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-13 15:09:35 +0200
committerJose <jose@zeroc.com>2019-06-13 15:09:35 +0200
commit19a9992c1a32387003324750b05c291927ff520e (patch)
tree90d277fd48f4fe5e0635634dcdf87f3621a4fca7
parentFix returnValue param name (diff)
downloadice-19a9992c1a32387003324750b05c291927ff520e.tar.bz2
ice-19a9992c1a32387003324750b05c291927ff520e.tar.xz
ice-19a9992c1a32387003324750b05c291927ff520e.zip
Fix iOS test controller build failures
-rw-r--r--swift/test/TestDriver/iOS/ControllerI.swift5
1 files changed, 3 insertions, 2 deletions
diff --git a/swift/test/TestDriver/iOS/ControllerI.swift b/swift/test/TestDriver/iOS/ControllerI.swift
index f0fb232c643..39b73618fab 100644
--- a/swift/test/TestDriver/iOS/ControllerI.swift
+++ b/swift/test/TestDriver/iOS/ControllerI.swift
@@ -85,7 +85,7 @@ class ProcessControllerI: CommonProcessController {
queue: (exe == "Server" ||
exe == "ServerAMD") ? _serverDispatchQueue : _clientDispatchQueue)
helper.run()
- return try uncheckedCast(prx: adapter.addWithUUID(ProcessI(helper: helper)), type: CommonProcessPrx.self)
+ return try uncheckedCast(prx: adapter.addWithUUID(CommonProcessDisp(ProcessI(helper: helper))), type: CommonProcessPrx.self)
}
func getHost(protocol _: String,
@@ -122,7 +122,8 @@ class ControllerI {
#endif
ident.name = "com.zeroc.Swift-Test-Controller"
- try adapter.add(servant: ProcessControllerI(view: view, ipv4: ipv4, ipv6: ipv6), id: ident)
+ try adapter.add(servant: CommonProcessControllerDisp(
+ ProcessControllerI(view: view, ipv4: ipv4, ipv6: ipv6)), id: ident)
try adapter.activate()
}