summaryrefslogtreecommitdiff
path: root/swift/test/Ice/exceptions/Collocated.swift
diff options
context:
space:
mode:
Diffstat (limited to 'swift/test/Ice/exceptions/Collocated.swift')
-rw-r--r--swift/test/Ice/exceptions/Collocated.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift/test/Ice/exceptions/Collocated.swift b/swift/test/Ice/exceptions/Collocated.swift
index 07fd2e169ee..8ca47a8a677 100644
--- a/swift/test/Ice/exceptions/Collocated.swift
+++ b/swift/test/Ice/exceptions/Collocated.swift
@@ -30,7 +30,7 @@ class Collocated: TestHelperI {
let adapter = try communicator.createObjectAdapter("TestAdapter")
let obj = ThrowerI()
- try adapter.add(servant: obj, id: Ice.stringToIdentity("thrower"))
+ try adapter.add(servant: ThrowerDisp(obj), id: Ice.stringToIdentity("thrower"))
try adapter.activate()