mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update SceneKit overlay for id-as-Any.
This commit is contained in:
@@ -229,7 +229,7 @@ internal func SCN_Swift_SCNSceneSource_entryWithIdentifier(
|
||||
extension SCNSceneSource {
|
||||
public func entryWithIdentifier<T>(_ uid: String, withClass entryClass: T.Type) -> T? {
|
||||
return SCN_Swift_SCNSceneSource_entryWithIdentifier(
|
||||
self, uid as NSString, entryClass as! AnyObject) as! T?
|
||||
self, uid as NSString, entryClass as! AnyClass) as! T?
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user