allow to compile without Q_FOREACH support
ClosedPublic

Authored by cullmann on Feb 8 2019, 11:41 AM.

Details

Summary

replaces Q_FOREACH with C++11 for

Test Plan

make && make test

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cullmann created this revision.Feb 8 2019, 11:41 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptFeb 8 2019, 11:41 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
cullmann requested review of this revision.Feb 8 2019, 11:41 AM
cullmann updated this revision to Diff 51171.Feb 8 2019, 11:48 AM

Missed 2 Q_FOREACH variants

dhaumann accepted this revision.Feb 8 2019, 12:15 PM
This revision is now accepted and ready to land.Feb 8 2019, 12:15 PM
This revision was automatically updated to reflect the committed changes.

Btw, could we add a cmake definition to disallow foreach?