remove inline casts because optimized builds seem to trip on them

This commit is contained in:
John Estropia
2017-10-17 13:38:25 +09:00
parent ba6f0c39d5
commit 639574d8c2
4 changed files with 0 additions and 9 deletions

View File

@@ -121,7 +121,6 @@ extension CoreStoreObject {
return unsafeDowncast(coreStoreObject, to: self)
}
@inline(__always)
func forceTypeCast<T: CoreStoreObject>(_ type: DynamicObject.Type, to: T.Type) -> T.Type {
return type as! T.Type