0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-18 02:43:53 +02:00

ircd::allocator::je: Add noexcept for stats callback.

This commit is contained in:
Jason Volk 2020-05-22 14:47:36 -07:00
parent 54a72532b6
commit f069cdfca0

View file

@ -17,7 +17,7 @@
namespace ircd::allocator::je
{
static std::function<void (std::ostream &, const string_view &)> stats_callback;
static void stats_handler(void *, const char *);
static void stats_handler(void *, const char *) noexcept;
extern info::versions malloc_version_api;
extern info::versions malloc_version_abi;
@ -108,7 +108,7 @@ ircd::allocator::set(const string_view &key_,
void
ircd::allocator::je::stats_handler(void *const ptr,
const char *const msg)
try
noexcept try
{
auto &out
{