Bug 1785225 - Update function2 to 2d3a878ef19dd5d2fb188898513610fac0a48621 r=nika

Differential Revision: https://phabricator.services.mozilla.com/D154884
This commit is contained in:
Updatebot 2022-08-17 19:02:06 +00:00
parent b16f6be00a
commit 4cd9d5b742
2 changed files with 3 additions and 3 deletions

View File

@ -1173,7 +1173,7 @@ public:
FU2_DETAIL_CXX14_CONSTEXPR erasure(std::true_type /*use_bool_op*/,
T&& callable,
Allocator&& allocator_ = Allocator{}) {
if (bool(callable)) {
if (!!callable) {
vtable_t::init(vtable_,
type_erasure::make_box(
std::integral_constant<bool, Config::is_copyable>{},

View File

@ -10,9 +10,9 @@ origin:
url: https://naios.github.io/function2/
release: 02ca99831de59c7c3a4b834789260253cace0ced (2021-06-16T17:21:46Z).
release: 2d3a878ef19dd5d2fb188898513610fac0a48621 (2022-08-17T08:11:51Z).
revision: 02ca99831de59c7c3a4b834789260253cace0ced
revision: 2d3a878ef19dd5d2fb188898513610fac0a48621
license: BSL-1.0
license-file: LICENSE.txt