diff --git a/QRCode/CIColorExtension.swift b/QRCode/CIColorExtension.swift index 34c1663..eed75c7 100644 --- a/QRCode/CIColorExtension.swift +++ b/QRCode/CIColorExtension.swift @@ -29,7 +29,7 @@ public extension CIColor { var hexValue: CUnsignedLongLong = 0 if scanner.scanHexLongLong(&hexValue) { - let length = countElements(rgba) + let length = count(rgba) switch (length) { case 3: