Skip to content

Commit e11b32e

Browse files
committed
fix(swift-1.2): countElements to count
1 parent 41eecbb commit e11b32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QRCode/CIColorExtension.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public extension CIColor {
2929
var hexValue: CUnsignedLongLong = 0
3030

3131
if scanner.scanHexLongLong(&hexValue) {
32-
let length = countElements(rgba)
32+
let length = count(rgba)
3333

3434
switch (length) {
3535
case 3:

0 commit comments

Comments
 (0)