0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 13:18:58 +02:00

ircd:Ⓜ️:dbs: Relax assertion.

This commit is contained in:
Jason Volk 2018-12-10 15:56:09 -08:00
parent cfbf31c587
commit 2a437347cb

View file

@ -999,7 +999,7 @@ ircd::m::dbs::room_events_key(const mutable_buffer &out_,
std::pair<uint64_t, ircd::m::event::idx>
ircd::m::dbs::room_events_key(const string_view &amalgam)
{
assert(size(amalgam) == 1 + 8 + 8 || size(amalgam) == 1 + 8);
assert(size(amalgam) >= 1 + 8 + 8 || size(amalgam) == 1 + 8);
assert(amalgam.front() == '\0');
const uint64_t &depth