Use anonymous namespace instead of static for constants
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user