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