From ecb72e995ad7534c19ed2a3de9b7385b609b6887 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Sun, 15 Mar 2015 12:18:44 +0200 Subject: [PATCH] core: drop superfluous qualifier from or_terminate --- core/future.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/future.hh b/core/future.hh index 9018081bf3..b5598b0a8e 100644 --- a/core/future.hh +++ b/core/future.hh @@ -593,7 +593,7 @@ public: return f; } - future<> or_terminate() && noexcept { + future<> or_terminate() noexcept { return then_wrapped([] (auto&& f) { try { f.get();