Skip to content

Commit

Permalink
Update single header
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbrindle authored and github-actions[bot] committed Mar 21, 2024
1 parent 446674e commit faf2e0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion single_include/flux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3802,11 +3802,12 @@ struct reverse_adaptor : inline_sequence_base<reverse_adaptor<Base>>
while (cur != end) {
flux::dec(self.base_, cur);
if (!std::invoke(pred, flux::read_at(self.base_, cur))) {
flux::inc(self.base_, cur);
break;
}
}

return cursor_type(flux::inc(self.base_, cur));
return cursor_type(cur);
}
};
};
Expand Down

0 comments on commit faf2e0f

Please sign in to comment.