Use anonymous namespace instead of static for constants

This commit is contained in:
Jonas Kvinge
2024-07-28 01:24:56 +02:00
parent 6c1ec51fab
commit 70fdd5b0b3
10 changed files with 25 additions and 35 deletions

View File

@@ -29,7 +29,9 @@
#include "albumcoverexporter.h"
#include "coverexportrunnable.h"
const int AlbumCoverExporter::kMaxConcurrentRequests = 3;
namespace {
constexpr int kMaxConcurrentRequests = 3;
}
AlbumCoverExporter::AlbumCoverExporter(QObject *parent)
: QObject(parent),