Skip to content

Commit e67b895

Browse files
committed
Clang
1 parent afd3bff commit e67b895

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/albatross/src/indexing/async_apply.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ template <typename ValueType, typename ApplyFunction,
3232
ApplyFunction, ValueType>::value &&
3333
std::is_same<void, ApplyType>::value,
3434
int>::type = 0>
35-
inline void async_apply(const std::vector<ValueType> &xs,
36-
ApplyFunction &&f) {
35+
inline void async_apply(const std::vector<ValueType> &xs, ApplyFunction &&f) {
3736
std::vector<std::future<void>> futures;
3837
for (const auto &x : xs) {
3938
futures.emplace_back(async_safe(f, x));
@@ -50,8 +49,7 @@ template <typename ValueType, typename ApplyFunction,
5049
ApplyFunction, ValueType>::value &&
5150
!std::is_same<void, ApplyType>::value,
5251
int>::type = 0>
53-
inline auto async_apply(const std::vector<ValueType> &xs,
54-
ApplyFunction &&f) {
52+
inline auto async_apply(const std::vector<ValueType> &xs, ApplyFunction &&f) {
5553
std::vector<std::future<ApplyType>> futures;
5654
for (const auto &x : xs) {
5755
futures.emplace_back(async_safe(f, x));

0 commit comments

Comments
 (0)