From e67b8958dc095de0caa5dc5e42905c92c34e0aaa Mon Sep 17 00:00:00 2001 From: kleeman Date: Fri, 27 Mar 2020 15:06:46 -0700 Subject: [PATCH] Clang --- include/albatross/src/indexing/async_apply.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/albatross/src/indexing/async_apply.hpp b/include/albatross/src/indexing/async_apply.hpp index 4c70b48b..740e6dfd 100644 --- a/include/albatross/src/indexing/async_apply.hpp +++ b/include/albatross/src/indexing/async_apply.hpp @@ -32,8 +32,7 @@ template ::value && std::is_same::value, int>::type = 0> -inline void async_apply(const std::vector &xs, - ApplyFunction &&f) { +inline void async_apply(const std::vector &xs, ApplyFunction &&f) { std::vector> futures; for (const auto &x : xs) { futures.emplace_back(async_safe(f, x)); @@ -50,8 +49,7 @@ template ::value && !std::is_same::value, int>::type = 0> -inline auto async_apply(const std::vector &xs, - ApplyFunction &&f) { +inline auto async_apply(const std::vector &xs, ApplyFunction &&f) { std::vector> futures; for (const auto &x : xs) { futures.emplace_back(async_safe(f, x));