summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qjniarray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qjniarray.h b/src/corelib/kernel/qjniarray.h
index bfa5ec7a7cc..16c02e087d8 100644
--- a/src/corelib/kernel/qjniarray.h
+++ b/src/corelib/kernel/qjniarray.h
@@ -300,7 +300,7 @@ public:
if constexpr (std::is_same_v<T, jobject>) {
QList<jobject> res;
res.reserve(size());
- for (auto &&element : *this)
+ for (auto element : *this)
res.append(element);
return res;
} else if constexpr (std::is_same_v<T, jbyte>) {