Skip to content

Commit

Permalink
fuzz: Clarify Apple-Clang-16 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Jun 26, 2024
1 parent fa7462c commit 9999dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/fuzz/fuzz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9999dbc

Please sign in to comment.