0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

fuzz: Clarify Apple-Clang-16 workaround

This commit is contained in:
MarcoFalke 2024-06-12 13:07:14 +02:00
parent fa7462c67a
commit 9999dbc1bd
No known key found for this signature in database

View file

@ -72,8 +72,8 @@ auto& FuzzTargets()
void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts)
{
const auto it_ins{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped after clang-16 */ {std::move(target), std::move(opts)})};
Assert(it_ins.second);
const auto [it, ins]{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped after Apple-Clang-16 ? */ {std::move(target), std::move(opts)})};
Assert(ins);
}
static std::string_view g_fuzz_target;