Commit d092e4ff authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use std::as_const

parent f029ff81
Pipeline #68796 passed with stage
in 17 minutes and 11 seconds
......@@ -41,7 +41,7 @@ bool CustomManageSieveWidget::refreshList()
bool noImapFound = true;
mLastSieveTreeWidgetItem = nullptr;
mServerSieveInfos.clear();
for (const KSieveUi::SieveImapInstance &type : mSieveImapInstances) {
for (const KSieveUi::SieveImapInstance &type : std::as_const(mSieveImapInstances)) {
if (type.status() == KSieveUi::SieveImapInstance::Broken) {
continue;
}
......
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