0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-07 12:38:56 +02:00

ircd::util: Add missing default construction for closure_bool.

This commit is contained in:
Jason Volk 2023-02-23 14:39:42 -08:00
parent 7472177a78
commit 9eec649b4d

View file

@ -75,6 +75,8 @@ struct ircd::util::closure<F, bool, A...>
closure(lambda &&o,
typename std::enable_if<std::is_constructible<func_bool_type, lambda>::value, int>::type = 0)
noexcept(std::is_nothrow_invocable<lambda, bool, A...>());
closure() = default;
};
template<template<class, class...>