Skip to content

Commit 9eaea5c

Browse files
committed
Fix missing default par policy in deprecated bulk overload
1 parent 0242ad9 commit 9eaea5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)