From 9ca4d2de461e0fdca3b2efd1a186495c8f5cba50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 2 Jul 2015 13:14:31 +0200 Subject: [PATCH] Bindings can be created from any SequenceType of DatabaseValue, not only CollectionType --- GRDB/Bindings.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GRDB/Bindings.swift b/GRDB/Bindings.swift index 5f19d3c43..8a59695d6 100644 --- a/GRDB/Bindings.swift +++ b/GRDB/Bindings.swift @@ -13,11 +13,11 @@ protocol BindingsImpl { public struct Bindings { let impl: BindingsImpl - public init>(_ array: C) { + public init>(_ array: C) { impl = BindingsArrayImpl(array: array.map { $0 }) } - public init(_ array: C) { + public init(_ array: C) { impl = BindingsArrayImpl(array: array.map { $0 }) }