summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/webgl/qwebglcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglcontext.cpp')
-rw-r--r--src/plugins/platforms/webgl/qwebglcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp
index 3315c52..9d48d74 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -887,7 +887,7 @@ QWEBGL_FUNCTION(getIntegerv, void, glGetIntegerv,
case QVariant::List: values = it->toList(); break;
default: values = QVariantList{ *it };
}
- for (const auto integer : qAsConst(values)) {
+ for (const auto &integer : qAsConst(values)) {
bool ok;
*data = integer.toInt(&ok);
if (!ok)