From 3d0d6fa8a92a7edc30bb57a50743c092e8b2e418 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 8 Jul 2019 21:09:16 -0700 Subject: [PATCH] =?UTF-8?q?Mark=20function=20as=20having=20@discardableRes?= =?UTF-8?q?ult,=20because=20we=20don=E2=80=99t=20always=20care=20about=20t?= =?UTF-8?q?he=20result.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/ArticlesDatabase/StatusesTable.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/ArticlesDatabase/StatusesTable.swift b/Frameworks/ArticlesDatabase/StatusesTable.swift index 2619f1092..39dffb167 100644 --- a/Frameworks/ArticlesDatabase/StatusesTable.swift +++ b/Frameworks/ArticlesDatabase/StatusesTable.swift @@ -50,6 +50,7 @@ final class StatusesTable: DatabaseTable { // MARK: Marking + @discardableResult func mark(_ statuses: Set, _ statusKey: ArticleStatus.Key, _ flag: Bool, _ database: FMDatabase) -> Set? { // Sets flag in both memory and in database.