Commit caac1441 authored by Fabian Kosmale's avatar Fabian Kosmale
Browse files

replaced foreach with range based for loop

parent 166373e4
...@@ -33,7 +33,7 @@ void OperationRunnerPrivate::__k__errorsOccurred(Error::List const& errs) ...@@ -33,7 +33,7 @@ void OperationRunnerPrivate::__k__errorsOccurred(Error::List const& errs)
{ {
Q_Q(OperationRunner); Q_Q(OperationRunner);
errors = errs; errors = errs;
foreach (const Akabei::Error &e, errors) { for (auto &e: errors) {
logCritical() << e.description() << Akabei::endlog; logCritical() << e.description() << Akabei::endlog;
} }
emit q->errorsOccurred(errors); emit q->errorsOccurred(errors);
......
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