Skip to content

Commit

Permalink
Merge f8eb1ae into e0735c0
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jun 28, 2023
2 parents e0735c0 + f8eb1ae commit 2d03aac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/library/export/dlglibraryexport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ void DlgLibraryExport::checkExistingDatabase() {
djinterop::database db = el::load_database(databaseDirectory.toStdString());
const auto version = db.version();

// Silence clang-tidy false positive 'const auto result' can be declared as 'const auto *const result'
// NOLINTNEXTLINE(readability-qualified-auto)
const auto result = std::find(el::all_versions.begin(), el::all_versions.end(), version);
if (result == el::all_versions.end()) {
// Unknown database version.
Expand Down

0 comments on commit 2d03aac

Please sign in to comment.