diff options
Diffstat (limited to 'swift/test/Ice/exceptions/ServerAMD.swift')
-rw-r--r-- | swift/test/Ice/exceptions/ServerAMD.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swift/test/Ice/exceptions/ServerAMD.swift b/swift/test/Ice/exceptions/ServerAMD.swift index b9706ce81c7..3ec3c3f4c6a 100644 --- a/swift/test/Ice/exceptions/ServerAMD.swift +++ b/swift/test/Ice/exceptions/ServerAMD.swift @@ -46,9 +46,9 @@ class ServerAMD: TestHelperI { let adapter3 = try communicator.createObjectAdapter("TestAdapter3") let obj = ThrowerI() - try adapter.add(servant: obj, id: Ice.stringToIdentity("thrower")) - try adapter2.add(servant: obj, id: Ice.stringToIdentity("thrower")) - try adapter3.add(servant: obj, id: Ice.stringToIdentity("thrower")) + try adapter.add(servant: ThrowerDisp(obj), id: Ice.stringToIdentity("thrower")) + try adapter2.add(servant: ThrowerDisp(obj), id: Ice.stringToIdentity("thrower")) + try adapter3.add(servant: ThrowerDisp(obj), id: Ice.stringToIdentity("thrower")) try adapter.activate() try adapter2.activate() |