diff --git a/src/algorithms/libs/sensor_data/sensor_data_resampler.cc b/src/algorithms/libs/sensor_data/sensor_data_resampler.cc index 402293f97..cdf973c61 100644 --- a/src/algorithms/libs/sensor_data/sensor_data_resampler.cc +++ b/src/algorithms/libs/sensor_data/sensor_data_resampler.cc @@ -21,7 +21,7 @@ std::vector resample_sensor_data_tags(const std::vector& t { static pmt::pmt_t SAMPLE_STAMP_KEY = pmt::mp(SensorIdentifier::to_string(SensorIdentifier::SAMPLE_STAMP)); std::vector new_tags{}; - for (auto& tag : tags) + for (const auto& tag : tags) { if (pmt::dict_has_key(tag.value, SAMPLE_STAMP_KEY)) {