fuzz: Clarify Apple-Clang-16 workaround

pull/30263/head
MarcoFalke 5 months ago
parent fa7462c67a
commit 9999dbc1bd
No known key found for this signature in database

@ -72,8 +72,8 @@ auto& FuzzTargets()
void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts) 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)})}; const auto [it, ins]{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped after Apple-Clang-16 ? */ {std::move(target), std::move(opts)})};
Assert(it_ins.second); Assert(ins);
} }
static std::string_view g_fuzz_target; static std::string_view g_fuzz_target;

Loading…
Cancel
Save