qdbus_symbols: Make major version list contexpr
It is never modified. Change-Id: Ie87a0705e258c5977f352afdcfc3bee513b3bfb6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d08d99a57b
commit
f2a2c669f6
@ -54,7 +54,7 @@ bool qdbus_loadLibDBus()
|
||||
lib->setLoadHints(QLibrary::ExportExternalSymbolsHint); // make libdbus symbols available for apps that need more advanced control over the dbus
|
||||
triedToLoadLibrary = true;
|
||||
|
||||
static int majorversions[] = { 3, 2, -1 };
|
||||
static constexpr int majorversions[] = { 3, 2, -1 };
|
||||
const QString baseNames[] = {
|
||||
#ifdef Q_OS_WIN
|
||||
"dbus-1"_L1,
|
||||
|
Loading…
Reference in New Issue
Block a user