1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-08 05:46:02 +00:00

style: added const to for each loop

This commit is contained in:
Victor Castillo
2025-08-31 14:48:15 +02:00
committed by Carles Fernandez
parent a4a4241275
commit 22371ee301

View File

@@ -21,7 +21,7 @@ std::vector<gr::tag_t> resample_sensor_data_tags(const std::vector<gr::tag_t>& t
{
static pmt::pmt_t SAMPLE_STAMP_KEY = pmt::mp(SensorIdentifier::to_string(SensorIdentifier::SAMPLE_STAMP));
std::vector<gr::tag_t> new_tags{};
for (auto& tag : tags)
for (const auto& tag : tags)
{
if (pmt::dict_has_key(tag.value, SAMPLE_STAMP_KEY))
{