Remove reference pointer to prevent using a constant reference in the looped iteration variable
PiperOrigin-RevId: 561758116
This commit is contained in:
parent
7c2d654d67
commit
62e682363c
|
@ -296,7 +296,7 @@ void ConfigureClassificationAggregationCalculator(
|
|||
if (output_tensors_metadata == nullptr) {
|
||||
return;
|
||||
}
|
||||
for (const auto& metadata : *output_tensors_metadata) {
|
||||
for (const auto metadata : *output_tensors_metadata) {
|
||||
options->add_head_names(metadata->name()->str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user