0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

ircd:Ⓜ️:room: Make inline ctor noexcept.

This commit is contained in:
Jason Volk 2019-09-26 14:00:31 -07:00
parent cea6218537
commit 0b4ec3873c

View file

@ -171,7 +171,7 @@ struct ircd::m::room
room(const id &room_id = {},
const vm::copts *const &copts = nullptr,
const event::fetch::opts *const &fopts = nullptr);
const event::fetch::opts *const &fopts = nullptr) noexcept;
// Index of create event
static event::idx index(const id &, std::nothrow_t);
@ -209,6 +209,7 @@ inline
ircd::m::room::room(const id &room_id,
const vm::copts *const &copts,
const event::fetch::opts *const &fopts)
noexcept
:room_id{room_id}
,copts{copts}
,fopts{fopts}