Commit 390aa44e authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Avoid binding to a temporary

Fixes the warning: loop variable ‘task’ of type
‘const std::shared_ptr<Kleo::Crypto::Task>&’
binds to a temporary constructed from type
‘const std::shared_ptr<Kleo::Crypto::SignEncryptTask>’
parent 6f9a481b
......@@ -569,7 +569,7 @@ void SignEncryptFilesController::Private::slotWizardOperationPrepared()
for (const std::shared_ptr<Task> &task : qAsConst(runnable)) {
for (const auto &task : qAsConst(runnable)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment