mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd::util: Add missing default construction for closure_bool.
This commit is contained in:
parent
7472177a78
commit
9eec649b4d
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ struct ircd::util::closure<F, bool, A...>
|
||||||
closure(lambda &&o,
|
closure(lambda &&o,
|
||||||
typename std::enable_if<std::is_constructible<func_bool_type, lambda>::value, int>::type = 0)
|
typename std::enable_if<std::is_constructible<func_bool_type, lambda>::value, int>::type = 0)
|
||||||
noexcept(std::is_nothrow_invocable<lambda, bool, A...>());
|
noexcept(std::is_nothrow_invocable<lambda, bool, A...>());
|
||||||
|
|
||||||
|
closure() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<template<class, class...>
|
template<template<class, class...>
|
||||||
|
|
Loading…
Reference in a new issue