fix warning

This commit is contained in:
Erik 2015-09-08 09:22:37 -04:00
parent c9d26ebd65
commit 31a2079222

View File

@ -73,7 +73,7 @@ final class SocketPacket: Printable {
}
func getEvent() -> String {
let event = data?.removeAtIndex(0)
let event: AnyObject? = data?.removeAtIndex(0)
return event as? String ?? String(stringInterpolationSegment: event!)
}