0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

ircd::log: Propagate noexcept to interface vlog().

This commit is contained in:
Jason Volk 2020-12-08 19:24:30 -08:00
parent 38d6911f98
commit bf3fa0a122
2 changed files with 2 additions and 1 deletions

View file

@ -124,7 +124,7 @@ struct ircd::log::hook
/// Lower level interface; this is not a template and defined in the unit.
struct ircd::log::vlog
{
vlog(const log &log, const level &, const string_view &fmt, const va_rtti &ap);
vlog(const log &log, const level &, const string_view &fmt, const va_rtti &ap) noexcept;
};
/// Lower level interface; allows log facility and level to be specified at

View file

@ -476,6 +476,7 @@ ircd::log::vlog::vlog(const log &log,
const level &lev,
const string_view &fmt,
const va_rtti &ap)
noexcept
{
if(!is_main_thread() && likely(ios::available()))
{