Merge branch 'develop' into corestore4_develop

This commit is contained in:
John Rommel Estropia
2017-03-02 21:07:30 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -677,7 +677,7 @@ public final class ListMonitor<T: NSManagedObject>: Hashable {
internal func downcast() -> ListMonitor<NSManagedObject> {
return unsafeDowncast(self, to: ListMonitor<NSManagedObject>.self)
return unsafeBitCast(self, to: ListMonitor<NSManagedObject>.self)
}
internal func registerChangeNotification(_ notificationKey: UnsafeRawPointer, name: Notification.Name, toObserver observer: AnyObject, callback: @escaping (_ monitor: ListMonitor<T>) -> Void) {

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 {