summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-04-01 12:04:15 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-04-05 14:26:58 +0200
commitdb26112d184df12825c0855d77d9b35a1660bbcb (patch)
tree24daac284f741f6f735991cc9889eda00d7e01ac /ios
parent3805cc83b451eed03fb6feb315f54cf76d6d1098 (diff)
downloadmullvadvpn-db26112d184df12825c0855d77d9b35a1660bbcb.tar.xz
mullvadvpn-db26112d184df12825c0855d77d9b35a1660bbcb.zip
ResultOperation: mark finish() unavailable
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/Operations/ResultOperation.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/MullvadVPN/Operations/ResultOperation.swift b/ios/MullvadVPN/Operations/ResultOperation.swift
index ba2cd59c4e..3d9233ce2e 100644
--- a/ios/MullvadVPN/Operations/ResultOperation.swift
+++ b/ios/MullvadVPN/Operations/ResultOperation.swift
@@ -31,6 +31,7 @@ class ResultOperation<Success, Failure: Error>: AsyncOperation {
super.init()
}
+ @available(*, unavailable)
override func finish() {
// Propagate cancellation if finish() is called directly from start().
if isCancelled {