fuzz: [refactor] Use PickValue where possible

This commit is contained in:
MarcoFalke
2021-03-24 07:01:35 +01:00
parent 681c21be9a
commit fa818ca202
3 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ void CallOneOf(FuzzedDataProvider& fuzzed_data_provider, Callables... callables)
}
template <typename Collection>
const auto& PickValue(FuzzedDataProvider& fuzzed_data_provider, const Collection& col)
auto& PickValue(FuzzedDataProvider& fuzzed_data_provider, Collection& col)
{
const auto sz = col.size();
assert(sz >= 1);