Skip to content

Commit 9999dbc

Browse files
author
MarcoFalke
committed
fuzz: Clarify Apple-Clang-16 workaround
1 parent fa7462c commit 9999dbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/fuzz/fuzz.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ auto& FuzzTargets()
7272

7373
void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts)
7474
{
75-
const auto it_ins{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped after clang-16 */ {std::move(target), std::move(opts)})};
76-
Assert(it_ins.second);
75+
const auto [it, ins]{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped after Apple-Clang-16 ? */ {std::move(target), std::move(opts)})};
76+
Assert(ins);
7777
}
7878

7979
static std::string_view g_fuzz_target;

0 commit comments

Comments
 (0)