mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:vm: Special case sequence number zero for iterator.
This commit is contained in:
parent
f0be8745b7
commit
8a829435cd
1 changed files with 3 additions and 1 deletions
|
@ -619,7 +619,9 @@ ircd::m::vm::events::for_each(const uint64_t &start,
|
|||
|
||||
auto it
|
||||
{
|
||||
column.lower_bound(byte_view<string_view>(start))
|
||||
start > 0?
|
||||
column.lower_bound(byte_view<string_view>(start)):
|
||||
column.begin()
|
||||
};
|
||||
|
||||
for(; it; ++it)
|
||||
|
|
Loading…
Reference in a new issue