typing dictionary might not always be right
This commit is contained in:
parent
5fdea20455
commit
c8c67d66a8
@ -289,9 +289,9 @@ private extension SocketPacket {
|
||||
}
|
||||
|
||||
return arr
|
||||
} else if var dict = data as? [String: AnyObject] {
|
||||
} else if let dict = data as? NSMutableDictionary {
|
||||
for (key, value) in dict {
|
||||
dict[key] = shred(value, binary: &binary)
|
||||
dict[key as! NSCopying] = shred(value, binary: &binary)
|
||||
}
|
||||
|
||||
return dict
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user