0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-28 14:58:20 +02:00

ircd:Ⓜ️:vm: Special case sequence number zero for iterator.

This commit is contained in:
Jason Volk 2018-04-16 23:30:57 -07:00
parent f0be8745b7
commit 8a829435cd

View file

@ -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)