forked from qt-creator/qt-creator
Fix warnings about unused lambda captures
This is the subset of clang complaints that MSVC does not disagree with. Change-Id: I0bc38b0c847d1c54f1ac9cca95d93577d39ddfcd Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -514,8 +514,8 @@ bool JsonWizardFactory::isAvailable(Utils::Id platformId) const
|
||||
expander.registerVariable("Platform", tr("The platform selected for the wizard."),
|
||||
[platformId]() { return platformId.toString(); });
|
||||
expander.registerVariable("Features", tr("The features available to this wizard."),
|
||||
[this, e, platformId]() { return JsonWizard::stringListToArrayString(Utils::Id::toStringList(availableFeatures(platformId)), e); });
|
||||
expander.registerVariable("Plugins", tr("The plugins loaded."), [this, e]() {
|
||||
[e, platformId]() { return JsonWizard::stringListToArrayString(Utils::Id::toStringList(availableFeatures(platformId)), e); });
|
||||
expander.registerVariable("Plugins", tr("The plugins loaded."), [e]() {
|
||||
return JsonWizard::stringListToArrayString(Utils::Id::toStringList(pluginFeatures()), e);
|
||||
});
|
||||
Core::JsExpander jsExpander;
|
||||
|
||||
Reference in New Issue
Block a user