diff options
Diffstat (limited to 'src/plugins/qmllint/quick/quicklintplugin.cpp')
-rw-r--r-- | src/plugins/qmllint/quick/quicklintplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmllint/quick/quicklintplugin.cpp b/src/plugins/qmllint/quick/quicklintplugin.cpp index 8a301e5ffc..cc0ef9dd76 100644 --- a/src/plugins/qmllint/quick/quicklintplugin.cpp +++ b/src/plugins/qmllint/quick/quicklintplugin.cpp @@ -413,9 +413,9 @@ void ControlsSwipeDelegateValidatorPass::run(const QQmlSA::Element &element) auto group = swipe.first->groupType(); - const auto ownDirBindings = { group->ownPropertyBindings(u"right"_s), - group->ownPropertyBindings(u"left"_s), - group->ownPropertyBindings(u"behind"_s) }; + const std::array ownDirBindings = { group->ownPropertyBindings(u"right"_s), + group->ownPropertyBindings(u"left"_s), + group->ownPropertyBindings(u"behind"_s) }; auto ownBindingIterator = std::find_if(ownDirBindings.begin(), ownDirBindings.end(), |