From 5cd66c1be89f77d0d0f9994b242bf3600e7c170f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 7 Feb 2019 13:03:12 +0100 Subject: [PATCH] Remove deprecated Cursor.flatMap --- GRDB/Core/Cursor.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/GRDB/Core/Cursor.swift b/GRDB/Core/Cursor.swift index cf26885f8..b56eee45c 100644 --- a/GRDB/Core/Cursor.swift +++ b/GRDB/Core/Cursor.swift @@ -144,11 +144,6 @@ extension Cursor { return map(transform).filter { $0 != nil }.map { $0! } } - @available(*, deprecated, renamed: "compactMap") - public func flatMap(_ transform: @escaping (Element) throws -> ElementOfResult?) -> MapCursor>, ElementOfResult> { - return compactMap(transform) - } - /// Returns a cursor that skips any initial elements that satisfy /// `predicate`. ///