0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-17 01:18:39 +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 namespace ircd::allocator::je
{ {
static std::function<void (std::ostream &, const string_view &)> stats_callback; 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_api;
extern info::versions malloc_version_abi; extern info::versions malloc_version_abi;
@ -108,7 +108,7 @@ ircd::allocator::set(const string_view &key_,
void void
ircd::allocator::je::stats_handler(void *const ptr, ircd::allocator::je::stats_handler(void *const ptr,
const char *const msg) const char *const msg)
try noexcept try
{ {
auto &out auto &out
{ {