File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ public func OGTypeApplyFields2(
26
26
extension Metadata: Swift. Hashable , Swift. CustomStringConvertible {
27
27
@inlinable
28
28
@inline ( __always)
29
- public init( _ type: Any. Type) {
29
+ public init( _ type: any Any. Type) {
30
30
self . init ( rawValue: unsafeBitCast ( type, to: UnsafePointer< _Metadata> . self ) )
31
31
}
32
32
33
33
@inlinable
34
34
@inline ( __always)
35
- public var type : Any . Type {
35
+ public var type : any Any . Type {
36
36
unsafeBitCast ( rawValue, to: Any . Type. self)
37
37
}
38
38
Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ void const* OGTypeGetDescriptor(OGTypeID typeID) {
141
141
void const * OGTypeNominalDescriptor (OGTypeID typeID) {
142
142
#ifdef OPENGRAPH_SWIFT_TOOLCHAIN_SUPPORTED
143
143
auto metadata = reinterpret_cast <OG::swift::metadata const *>(typeID);
144
-
145
144
return metadata->nominal_descriptor ();
146
145
#else
147
146
return nullptr ;
You can’t perform that action at this time.
0 commit comments