OSDN Git Service

無駄なlazyを削除
authormasakih <masakih@users.sourceforge.jp>
Wed, 13 Dec 2017 13:15:39 +0000 (22:15 +0900)
committermasakih <masakih@users.sourceforge.jp>
Wed, 13 Dec 2017 13:15:39 +0000 (22:15 +0900)
KCD/HistoryTableViewController.swift

index bccfa53..8dbb2f7 100644 (file)
@@ -50,7 +50,6 @@ class HistoryTableViewController: NSViewController {
         
         let selectedIndex = controller.selectionIndex
         selection
-            .lazy
             .map { $0.objectID }
             .map(store.object(with:))
             .forEach(store.delete)