summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-17 13:56:21 +0200
committerJose <jose@zeroc.com>2019-06-17 13:56:21 +0200
commit9bcf281677e79987e77c1866f933fc6be3e64536 (patch)
tree4d766d32b844446df4aa18f1bda592c07bed37dc
parentAdd doc comments to Communicator SSL related methods (diff)
downloadice-9bcf281677e79987e77c1866f933fc6be3e64536.tar.bz2
ice-9bcf281677e79987e77c1866f933fc6be3e64536.tar.xz
ice-9bcf281677e79987e77c1866f933fc6be3e64536.zip
Use ObjectTraits for Ice.Value ice_staticId/ice_id
-rw-r--r--swift/src/Ice/Value.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/swift/src/Ice/Value.swift b/swift/src/Ice/Value.swift
index 554105ad988..c5b89064004 100644
--- a/swift/src/Ice/Value.swift
+++ b/swift/src/Ice/Value.swift
@@ -10,7 +10,7 @@ open class Value {
///
/// - returns: `String` - The Slice type ID.
open func ice_id() -> String {
- return "::Ice::Object"
+ return ObjectTraits.staticId
}
open func _iceReadImpl(from _: InputStream) throws {}
@@ -50,7 +50,7 @@ open class Value {
///
/// - returns: `String` - The Slice type ID.
open class func ice_staticId() -> String {
- return "::Ice::Object"
+ return ObjectTraits.staticId
}
}