diff --git a/stlab/concurrency/future.hpp b/stlab/concurrency/future.hpp index 51d2c16f7..42d3b54f9 100644 --- a/stlab/concurrency/future.hpp +++ b/stlab/concurrency/future.hpp @@ -327,7 +327,7 @@ struct shared_base> : std::enable_shared_from_this auto reduce(R&& r) { return std::forward(r); - }; + } auto reduce(future>&& r) -> future; @@ -448,7 +448,7 @@ struct shared_base> : std::enable_shared_from_this< template auto reduce(R&& r) { return std::forward(r); - }; + } template auto reduce(future>&& r) -> future; @@ -537,7 +537,7 @@ struct shared_base : std::enable_shared_from_this> { template auto reduce(R&& r) { return std::forward(r); - }; + } auto reduce(future>&& r) -> future;