Skip to content

Commit

Permalink
Ignore a couple of places where clang-tidy recommends the "auto" keyw…
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Dec 2, 2019
1 parent 66ee8b4 commit 472cb48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythmetadata/dirscan.cpp
Expand Up @@ -35,6 +35,7 @@ namespace

bool extension_ignored(const QString &extension) const
{
//NOLINTNEXTLINE(modernize-use-auto)
ext_map::const_iterator p = m_extensions.find(extension.toLower());
if (p != m_extensions.end())
return p->second;
Expand Down
2 changes: 2 additions & 0 deletions mythtv/libs/libmythmetadata/videometadatalistmanager.cpp
Expand Up @@ -37,6 +37,7 @@ class VideoMetadataListManagerImp

VideoMetadataPtr byFilename(const QString &file_name) const
{
//NOLINTNEXTLINE(modernize-use-auto)
string_to_meta::const_iterator p = m_fileMap.find(file_name);
if (p != m_fileMap.end())
{
Expand All @@ -47,6 +48,7 @@ class VideoMetadataListManagerImp

VideoMetadataPtr byID(unsigned int db_id) const
{
//NOLINTNEXTLINE(modernize-use-auto)
int_to_meta::const_iterator p = m_idMap.find(db_id);
if (p != m_idMap.end())
{
Expand Down

0 comments on commit 472cb48

Please sign in to comment.