diff --git a/Sources/OpenGraph/Attribute/Attribute/OGAttribute.swift b/Sources/OpenGraph/Attribute/Attribute/OGAttribute.swift index 21f654d..7fecc84 100644 --- a/Sources/OpenGraph/Attribute/Attribute/OGAttribute.swift +++ b/Sources/OpenGraph/Attribute/Attribute/OGAttribute.swift @@ -78,7 +78,7 @@ extension OGAttribute { // MARK: CustomStringConvertible -extension OGAttribute: @retroactive CustomStringConvertible { +extension OGAttribute: Swift.CustomStringConvertible { @inlinable public var description: String { "#\(rawValue)" } } diff --git a/Sources/OpenGraph/Attribute/Weak/OGWeakAttribute.swift b/Sources/OpenGraph/Attribute/Weak/OGWeakAttribute.swift index 9ffd75d..3073da7 100644 --- a/Sources/OpenGraph/Attribute/Weak/OGWeakAttribute.swift +++ b/Sources/OpenGraph/Attribute/Weak/OGWeakAttribute.swift @@ -35,7 +35,7 @@ extension OGWeakAttribute { } } -extension OGWeakAttribute: @retroactive Hashable { +extension OGWeakAttribute: Swift.Hashable { @_alwaysEmitIntoClient public static func == (lhs: OGWeakAttribute, rhs: OGWeakAttribute) -> Bool { lhs.raw_attribute == rhs.raw_attribute && lhs.subgraph_id == rhs.subgraph_id @@ -53,7 +53,7 @@ extension OGWeakAttribute: @retroactive Hashable { } } -extension OGWeakAttribute: @retroactive CustomStringConvertible { +extension OGWeakAttribute: Swift.CustomStringConvertible { @_alwaysEmitIntoClient public var description: String { attribute?.description ?? "nil" } } diff --git a/Sources/OpenGraph/Runtime/OGTypeID.swift b/Sources/OpenGraph/Runtime/OGTypeID.swift index c9bc643..f43c0d5 100644 --- a/Sources/OpenGraph/Runtime/OGTypeID.swift +++ b/Sources/OpenGraph/Runtime/OGTypeID.swift @@ -23,7 +23,7 @@ public func OGTypeApplyFields2( body: (UnsafePointer, Int, Any.Type) -> Bool ) -> Bool -extension OGTypeID: @retroactive Hashable, @retroactive CustomStringConvertible { +extension OGTypeID: Swift.Hashable, Swift.CustomStringConvertible { @inlinable @inline(__always) public init(_ type: Any.Type) {