File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ public func OGTypeApplyFields2(
2626extension Metadata: Swift. Hashable , Swift. CustomStringConvertible {
2727 @inlinable
2828 @inline ( __always)
29- public init( _ type: Any. Type) {
29+ public init( _ type: any Any. Type) {
3030 self . init ( rawValue: unsafeBitCast ( type, to: UnsafePointer< _Metadata> . self ) )
3131 }
3232
3333 @inlinable
3434 @inline ( __always)
35- public var type : Any . Type {
35+ public var type : any Any . Type {
3636 unsafeBitCast ( rawValue, to: Any . Type. self)
3737 }
3838
Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ void const* OGTypeGetDescriptor(OGTypeID typeID) {
141141void const * OGTypeNominalDescriptor (OGTypeID typeID) {
142142 #ifdef OPENGRAPH_SWIFT_TOOLCHAIN_SUPPORTED
143143 auto metadata = reinterpret_cast <OG::swift::metadata const *>(typeID);
144-
145144 return metadata->nominal_descriptor ();
146145 #else
147146 return nullptr ;
You can’t perform that action at this time.
0 commit comments