Remove reference pointer to prevent using a constant reference in the looped iteration variable

PiperOrigin-RevId: 561758116
This commit is contained in:
MediaPipe Team 2023-08-31 14:15:20 -07:00 committed by Copybara-Service
parent 7c2d654d67
commit 62e682363c

View File

@ -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());
}
}