From e11b32e48e6c0f834573f650e71f8c6e4229b47a Mon Sep 17 00:00:00 2001 From: jiverson Date: Tue, 3 Mar 2015 22:59:35 -0700 Subject: [PATCH] fix(swift-1.2): countElements to count --- QRCode/CIColorExtension.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: