qt: Apply compiler hint
* lang/qt/tests/t-verify.cpp (VerifyTest::testSignatureKey): Use reference type to prevent copying. --
This commit is contained in:
parent
540e7bf3d4
commit
f1a354fd57
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user