diff options
author | Jose <jose@zeroc.com> | 2019-03-19 17:37:54 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-03-19 17:39:51 +0100 |
commit | 264cbf033c1eaf93a018525e42f893818e8caed9 (patch) | |
tree | 6cbc2f7418668b541b0eec530f93e57575a0f9a8 /swift/src | |
parent | Fix noExplicitContext usage (diff) | |
download | ice-264cbf033c1eaf93a018525e42f893818e8caed9.tar.bz2 ice-264cbf033c1eaf93a018525e42f893818e8caed9.tar.xz ice-264cbf033c1eaf93a018525e42f893818e8caed9.zip |
Remove stringToIdentity label
Diffstat (limited to 'swift/src')
-rw-r--r-- | swift/src/Ice/CommunicatorI.swift | 2 | ||||
-rw-r--r-- | swift/src/Ice/Globals.swift | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/swift/src/Ice/CommunicatorI.swift b/swift/src/Ice/CommunicatorI.swift index 77ac29668cc..e7b46c03c5a 100644 --- a/swift/src/Ice/CommunicatorI.swift +++ b/swift/src/Ice/CommunicatorI.swift @@ -81,7 +81,7 @@ class CommunicatorI: LocalObject<ICECommunicator>, Communicator { } func stringToIdentity(_ str: String) throws -> Identity { - return try Ice.stringToIdentity(string: str) + return try Ice.stringToIdentity(str) } func identityToString(_ ident: Identity) throws -> String { diff --git a/swift/src/Ice/Globals.swift b/swift/src/Ice/Globals.swift index eb3fda2d493..08ffbf4f824 100644 --- a/swift/src/Ice/Globals.swift +++ b/swift/src/Ice/Globals.swift @@ -71,7 +71,7 @@ public var currentEncoding: EncodingVersion { return encoding } -public func stringToIdentity(string: String) throws -> Identity { +public func stringToIdentity(_ string: String) throws -> Identity { var name = NSString() var category = NSString() try ICEUtil.stringToIdentity(str: string, name: &name, category: &category) |