diff --git a/Sources/CSListMonitor.swift b/Sources/CSListMonitor.swift index 6e109d6..85c2e31 100644 --- a/Sources/CSListMonitor.swift +++ b/Sources/CSListMonitor.swift @@ -560,7 +560,6 @@ extension ListMonitor where ListMonitor.ObjectType: NSManagedObject { fileprivate func downcast() -> ListMonitor { - @inline(__always) func noWarnUnsafeBitCast(_ x: T, to type: U.Type) -> U { return unsafeBitCast(x, to: type) diff --git a/Sources/CSObjectMonitor.swift b/Sources/CSObjectMonitor.swift index 52e58dd..fc45bd7 100644 --- a/Sources/CSObjectMonitor.swift +++ b/Sources/CSObjectMonitor.swift @@ -152,7 +152,6 @@ extension ObjectMonitor where ObjectMonitor.ObjectType: NSManagedObject { fileprivate func downcast() -> ObjectMonitor { - @inline(__always) func noWarnUnsafeBitCast(_ x: T, to type: U.Type) -> U { return unsafeBitCast(x, to: type) diff --git a/Sources/DynamicObject.swift b/Sources/DynamicObject.swift index 9b1d7f5..cf148af 100644 --- a/Sources/DynamicObject.swift +++ b/Sources/DynamicObject.swift @@ -121,7 +121,6 @@ extension CoreStoreObject { return unsafeDowncast(coreStoreObject, to: self) } - @inline(__always) func forceTypeCast(_ type: DynamicObject.Type, to: T.Type) -> T.Type { return type as! T.Type diff --git a/Sources/QueryableAttributeType.swift b/Sources/QueryableAttributeType.swift index f827a23..df427af 100644 --- a/Sources/QueryableAttributeType.swift +++ b/Sources/QueryableAttributeType.swift @@ -351,7 +351,6 @@ extension NSData: QueryableAttributeType { @nonobjc @inline(__always) public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? { - @inline(__always) func forceCast(_ value: Any) -> T? { return value as? T @@ -382,7 +381,6 @@ extension NSDate: QueryableAttributeType { @nonobjc @inline(__always) public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? { - @inline(__always) func forceCast(_ value: Any) -> T? { return value as? T @@ -424,7 +422,6 @@ extension NSManagedObjectID: QueryableAttributeType { @nonobjc @inline(__always) public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? { - @inline(__always) func forceCast(_ value: Any) -> T? { return value as? T @@ -455,7 +452,6 @@ extension NSNull: QueryableAttributeType { @nonobjc @inline(__always) public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? { - @inline(__always) func forceCast(_ value: Any) -> T? { return value as? T @@ -486,7 +482,6 @@ extension NSNumber: QueryableAttributeType { @nonobjc @inline(__always) public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? { - @inline(__always) func forceCast(_ value: Any) -> T? { return value as? T @@ -517,7 +512,6 @@ extension NSString: QueryableAttributeType { @nonobjc @inline(__always) public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? { - @inline(__always) func forceCast(_ value: Any) -> T? { return value as? T