From f931912f3efcb1ac6635153e4e345c725c0f1ae9 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 18 Aug 2022 15:01:38 -0700 Subject: [PATCH] ircd::m::event::fetch: Improve codegen w/ dtor linkage. --- include/ircd/m/event/fetch.h | 1 + matrix/event_fetch.cc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/include/ircd/m/event/fetch.h b/include/ircd/m/event/fetch.h index 0991dcf42..395659afc 100644 --- a/include/ircd/m/event/fetch.h +++ b/include/ircd/m/event/fetch.h @@ -69,6 +69,7 @@ struct ircd::m::event::fetch fetch(const id &, const opts & = default_opts); fetch(const idx &, const opts & = default_opts); fetch(const opts & = default_opts); + ~fetch() noexcept; }; /// Event Fetch Options. diff --git a/matrix/event_fetch.cc b/matrix/event_fetch.cc index eb59d358e..21713dbb5 100644 --- a/matrix/event_fetch.cc +++ b/matrix/event_fetch.cc @@ -258,6 +258,12 @@ ircd::m::event::fetch::fetch(const opts &opts) { } +// array of db::cell::~cell() +ircd::m::event::fetch::~fetch() +noexcept +{ +} + [[gnu::visibility("hidden")]] bool ircd::m::event::fetch::assign_from_json(const string_view &key)