reverted unsafeDowncast usage to unsafeBitCast (It worked differently)

This commit is contained in:
John Estropia
2017-03-01 19:56:13 +09:00
parent 3224fcf71d
commit 341ec5e771
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ public final class ObjectMonitor<EntityType: NSManagedObject>: Equatable {
internal func downcast() -> ObjectMonitor<NSManagedObject> {
return unsafeDowncast(self, to: ObjectMonitor<NSManagedObject>.self)
return unsafeBitCast(self, to: ObjectMonitor<NSManagedObject>.self)
}
deinit {