mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️:room: Make inline ctor noexcept.
This commit is contained in:
parent
cea6218537
commit
0b4ec3873c
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,7 @@ struct ircd::m::room
|
||||||
|
|
||||||
room(const id &room_id = {},
|
room(const id &room_id = {},
|
||||||
const vm::copts *const &copts = nullptr,
|
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
|
// Index of create event
|
||||||
static event::idx index(const id &, std::nothrow_t);
|
static event::idx index(const id &, std::nothrow_t);
|
||||||
|
@ -209,6 +209,7 @@ inline
|
||||||
ircd::m::room::room(const id &room_id,
|
ircd::m::room::room(const id &room_id,
|
||||||
const vm::copts *const &copts,
|
const vm::copts *const &copts,
|
||||||
const event::fetch::opts *const &fopts)
|
const event::fetch::opts *const &fopts)
|
||||||
|
noexcept
|
||||||
:room_id{room_id}
|
:room_id{room_id}
|
||||||
,copts{copts}
|
,copts{copts}
|
||||||
,fopts{fopts}
|
,fopts{fopts}
|
||||||
|
|
Loading…
Reference in a new issue