0
0
Fork 0
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:
Jason Volk 2020-02-19 09:28:27 -08:00
parent 50cf4d350c
commit 0c1970af0f

View file

@ -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