diff options
author | Jose <jose@zeroc.com> | 2019-06-13 15:09:35 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-13 15:09:35 +0200 |
commit | 19a9992c1a32387003324750b05c291927ff520e (patch) | |
tree | 90d277fd48f4fe5e0635634dcdf87f3621a4fca7 | |
parent | Fix returnValue param name (diff) | |
download | ice-19a9992c1a32387003324750b05c291927ff520e.tar.bz2 ice-19a9992c1a32387003324750b05c291927ff520e.tar.xz ice-19a9992c1a32387003324750b05c291927ff520e.zip |
Fix iOS test controller build failures
-rw-r--r-- | swift/test/TestDriver/iOS/ControllerI.swift | 5 |
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() } |