diff --git a/lang/qt/tests/t-verify.cpp b/lang/qt/tests/t-verify.cpp index e6b0c8a4..0dbecf79 100644 --- a/lang/qt/tests/t-verify.cpp +++ b/lang/qt/tests/t-verify.cpp @@ -81,7 +81,7 @@ private Q_SLOTS: QVERIFY(!key.isNull()); bool found = false; - for (const auto subkey: key.subkeys()) { + for (const auto &subkey: key.subkeys()) { if (!strcmp (subkey.fingerprint(), sig.fingerprint())) { found = true; }