Skip to content

Commit aee595e

Browse files
authored
Merge pull request #1525 from msimberg/fix-bulk-deprecated-overload
Fix missing default `std::execution::par` policy in deprecated `bulk` overload
2 parents 0242ad9 + 9eaea5c commit aee595e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/stdexec/__detail/__bulk.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ namespace stdexec {
206206
template <integral _Shape, copy_constructible _Fun>
207207
[[deprecated("The bulk algorithm now requires an execution policy such as stdexec::par as an argument.")]]
208208
STDEXEC_ATTRIBUTE((always_inline)) auto operator()(_Shape __shape, _Fun __fun) const {
209-
return (*this)(static_cast<_Shape&&>(__shape), static_cast<_Fun&&>(__fun));
209+
return (*this)(par, static_cast<_Shape&&>(__shape), static_cast<_Fun&&>(__fun));
210210
}
211211
};
212212

0 commit comments

Comments
 (0)