Port away from foreach loops over members without calls to owner class
ClosedPublic

Authored by kossebau on Sep 10 2019, 12:52 AM.

Details

Summary

There is some small risk here:

  • overseen call chains which still call the owner and modify the container
  • other threads might access the same containers, even if class is not designed to be thread-safe, but wrong usages are currently caught mostly by the container copy

GIT_SILENT

Diff Detail

Repository
R263 KXmlGui
Branch
portmoreforeachwithoutrecursivecalls
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16298
Build 16316: arc lint + arc unit
kossebau created this revision.Sep 10 2019, 12:52 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 10 2019, 12:52 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
kossebau requested review of this revision.Sep 10 2019, 12:52 AM
dfaure accepted this revision.Sep 10 2019, 5:28 PM
This revision is now accepted and ready to land.Sep 10 2019, 5:28 PM
This revision was automatically updated to reflect the committed changes.