From f069cdfca008a681cf7d89f1a70a7b7f5f740047 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 22 May 2020 14:47:36 -0700 Subject: [PATCH] ircd::allocator::je: Add noexcept for stats callback. --- ircd/allocator_je.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/allocator_je.cc b/ircd/allocator_je.cc index 390405506..79538573d 100644 --- a/ircd/allocator_je.cc +++ b/ircd/allocator_je.cc @@ -17,7 +17,7 @@ namespace ircd::allocator::je { static std::function 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 {