Skip to content

Commit

Permalink
fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Feb 20, 2024
1 parent eb4e817 commit b473725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/thirdparty/async_simple/coro/Collect.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ inline auto collectAllWindowedImpl(size_t maxConcurrency,
}
size_t start = 0;
while (start < input_size) {
size_t end = std::min(input_size, start + maxConcurrency);
size_t end = (std::min)(input_size, start + maxConcurrency);
std::vector<LazyType> tmp_group(
std::make_move_iterator(input.begin() + start),
std::make_move_iterator(input.begin() + end));
Expand Down

0 comments on commit b473725

Please sign in to comment.