mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 20:51:27 +02:00
fuzz: Clarify Apple-Clang-16 workaround
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user