mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
Remove workarounds for fixed bugs
This commit is contained in:
@@ -49,8 +49,7 @@ namespace BlackCore
|
||||
QString iid = json["IID"].toString();
|
||||
if (iid == QStringLiteral("org.swift-project.blackcore.weatherdata"))
|
||||
{
|
||||
// PluginExtended() instead of {} to silence wrong warning for gcc < 5.X
|
||||
auto it = m_plugins.insert(pluginIdentifier(json), PluginExtended());
|
||||
auto it = m_plugins.insert(pluginIdentifier(json), {});
|
||||
it->info.convertFromJson(json);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user