Fix a warning

This commit is contained in:
Damiano Galassi committed 2024-11-29 12:31:30 +01:00
1 parent ce670fe788
commit b71f404a09
1 file changed
+3 -1
+3 -1
View File
@@ -239,7 +239,9 @@ class AudioSampleDescription: SampleDescription {
let test2 = FourCharCode("420f")
print(test.string, test2.string)
*/
extension FourCharCode: ExpressibleByStringLiteral {
extension UInt32: @retroactive ExpressibleByExtendedGraphemeClusterLiteral {}
extension UInt32: @retroactive ExpressibleByUnicodeScalarLiteral {}
extension FourCharCode: @retroactive ExpressibleByStringLiteral {
public init(stringLiteral value: StringLiteralType) {
var code: FourCharCode = 0