From f4ad46eb75048fbcda785863a14c245d938e65f3 Mon Sep 17 00:00:00 2001 From: Daniele Margutti Date: Wed, 22 Jul 2020 09:31:17 +0200 Subject: [PATCH] Fix warning deprecated voidPromise() function in Promise.swift --- Sources/Hydra/Promise.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Hydra/Promise.swift b/Sources/Hydra/Promise.swift index 0cb7f25..9120d19 100644 --- a/Sources/Hydra/Promise.swift +++ b/Sources/Hydra/Promise.swift @@ -244,7 +244,7 @@ public class Promise { /// Transform given promise to a void promise. - @available(*, deprecated: 0.9.8, message: "Use .void var instead") + @available(*, deprecated, message: "Use .void var instead") public func voidPromise() -> Promise { return self.then { _ in return ()