mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 10:08:56 +02:00
ircd:Ⓜ️:event: Fix event::id to event::idx queries which throw from a nothrow overload.
This commit is contained in:
parent
1744ee065b
commit
cd693500f9
|
@ -1039,7 +1039,7 @@ ircd::m::get(std::nothrow_t,
|
|||
const string_view &key,
|
||||
const mutable_buffer &buf)
|
||||
{
|
||||
return get(std::nothrow, index(event_id), key, buf);
|
||||
return get(std::nothrow, index(event_id, std::nothrow), key, buf);
|
||||
}
|
||||
|
||||
ircd::const_buffer
|
||||
|
@ -1092,7 +1092,7 @@ ircd::m::get(std::nothrow_t,
|
|||
const string_view &key,
|
||||
const event::fetch::view_closure &closure)
|
||||
{
|
||||
return get(std::nothrow, index(event_id), key, closure);
|
||||
return get(std::nothrow, index(event_id, std::nothrow), key, closure);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue