mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Avoid global QString init in plugins
This workarounds issue with LTO with GCC #716
This commit is contained in:
@@ -38,7 +38,7 @@ const PluginDescriptor FCDProPlusPlugin::m_pluginDescriptor = {
|
||||
QStringLiteral("https://github.com/f4exb/sdrangel")
|
||||
};
|
||||
|
||||
const QString FCDProPlusPlugin::m_deviceTypeID = FCDPROPLUS_DEVICE_TYPE_ID;
|
||||
static constexpr const char* const m_deviceTypeID = FCDPROPLUS_DEVICE_TYPE_ID;
|
||||
|
||||
FCDProPlusPlugin::FCDProPlusPlugin(QObject* parent) :
|
||||
QObject(parent)
|
||||
|
||||
Reference in New Issue
Block a user