aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2021-08-02 13:46:06 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2021-09-22 06:58:14 +0200
commit73c708d9028e8dada52c69e45e02b9d2255adbec (patch)
treefd7a98c0ffe83efc742d89776063c0a3ba19e7b8 /Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift
parentbuild: Include 'swiftlint' location in the PATH before invoking it (diff)
downloadwireguard-apple-73c708d9028e8dada52c69e45e02b9d2255adbec.tar.xz
wireguard-apple-73c708d9028e8dada52c69e45e02b9d2255adbec.zip
build: Fix swift warnings
Use 'AnyObject' instead of 'class' to restrict protocol inheritance Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift b/Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift
index e1fd1e8..7c94dbb 100644
--- a/Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift
+++ b/Sources/WireGuardApp/UI/macOS/ViewController/TunnelsListTableViewController.swift
@@ -3,7 +3,7 @@
import Cocoa
-protocol TunnelsListTableViewControllerDelegate: class {
+protocol TunnelsListTableViewControllerDelegate: AnyObject {
func tunnelsSelected(tunnelIndices: [Int])
func tunnelsListEmpty()
}