mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd:Ⓜ️:feds: Add default inline construction to reassert noexcept.
This commit is contained in:
parent
50cf4d350c
commit
0c1970af0f
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,10 @@ struct ircd::m::feds::opts
|
|||
/// default, and loopback queries are made for result completeness in the
|
||||
/// typical use case.
|
||||
bool exclude_myself {false};
|
||||
|
||||
// Default construction is inline by member; this is defined to impose
|
||||
// noexcept over `milliseconds timeout` which we guarantee won't throw.
|
||||
opts() noexcept {}
|
||||
};
|
||||
|
||||
inline
|
||||
|
|
Loading…
Reference in a new issue