aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp')
-rw-r--r--tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp b/tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp
index a935f9f70d..9c3eb66a60 100644
--- a/tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp
+++ b/tests/auto/qml/qqmljsscope/tst_qqmljsscope.cpp
@@ -578,7 +578,7 @@ void tst_qqmljsscope::scriptIndices()
queue.push_back(c);
}
- for (const QmlIR::Object *irObject : qAsConst(document.objects)) {
+ for (const QmlIR::Object *irObject : std::as_const(document.objects)) {
const QString objectName = document.stringAt(irObject->inheritedTypeNameIndex);
for (auto it = irObject->functionsBegin(); it != irObject->functionsEnd(); ++it) {
QString name = document.stringAt(it->nameIndex);