mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
ircd::log: Propagate noexcept to interface vlog().
This commit is contained in:
parent
38d6911f98
commit
bf3fa0a122
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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()))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue