diff --git a/mythtv/libs/libmythmetadata/musicmetadata.cpp b/mythtv/libs/libmythmetadata/musicmetadata.cpp index 3421988bbc4..8d43fce6eb4 100644 --- a/mythtv/libs/libmythmetadata/musicmetadata.cpp +++ b/mythtv/libs/libmythmetadata/musicmetadata.cpp @@ -1901,7 +1901,7 @@ AlbumArtImages::AlbumArtImages(MusicMetadata *metadata, bool loadFromDB) AlbumArtImages::AlbumArtImages(MusicMetadata *metadata, const AlbumArtImages &other) : m_parent(metadata) { - for (auto &srcImage : qAsConst(other.m_imageList)) + for (const auto &srcImage : qAsConst(other.m_imageList)) { m_imageList.append(new AlbumArtImage(srcImage)); } diff --git a/mythtv/libs/libmythtv/eitscanner.h b/mythtv/libs/libmythtv/eitscanner.h index 56963a7ff0d..100ca00b0f3 100644 --- a/mythtv/libs/libmythtv/eitscanner.h +++ b/mythtv/libs/libmythtv/eitscanner.h @@ -34,7 +34,7 @@ class EITScanner : public QRunnable void StartEITEventProcessing(ChannelBase *channel, EITSource *eitSource); void StopEITEventProcessing(void); - void StartActiveScan(TVRec *rec, std::chrono::seconds max_seconds_per_source); + void StartActiveScan(TVRec *rec, std::chrono::seconds max_seconds_per_multiplex); void StopActiveScan(void); protected: