mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-16 13:51:12 +01:00
remove inline casts because optimized builds seem to trip on them
This commit is contained in:
1 parent
ba6f0c39d5
commit
639574d8c2
4 files changed
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user