fuzz: Clarify Apple-Clang-16 workaround

This commit is contained in:
MarcoFalke committed 2024-06-26 18:48:27 +02:00
1 parent fa7462c67a
commit 9999dbc1bd
1 file changed
+2 -2
+2 -2
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;