From 9eec649b4d45932b793cd6e0eb4ee56ac481b81a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 23 Feb 2023 14:39:42 -0800 Subject: [PATCH] ircd::util: Add missing default construction for closure_bool. --- include/ircd/util/closure.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ircd/util/closure.h b/include/ircd/util/closure.h index 569b71d30..87db70912 100644 --- a/include/ircd/util/closure.h +++ b/include/ircd/util/closure.h @@ -75,6 +75,8 @@ struct ircd::util::closure closure(lambda &&o, typename std::enable_if::value, int>::type = 0) noexcept(std::is_nothrow_invocable()); + + closure() = default; }; template