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:
parent
fa7462c67a
commit
9999dbc1bd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue