D24212: Remove foreach in KmPlot in favor of range-based loops

Albert Astals Cid noreply at phabricator.kde.org
Fri Sep 27 20:19:53 BST 2019


aacid accepted this revision.
aacid added a comment.
This revision is now accepted and ready to land.


  In general the only problem in porting forach to for( : ) is when the list was modified inside foreach since forach made a "copy-on-write" and for doesn't.
  
  I don't see any such case here so let's hope it's good.

REPOSITORY
  R334 KmPlot

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24212

To: yurchor, #kde_edu, aacid
Cc: aacid, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190927/a62dc6d1/attachment.html>


More information about the kde-edu mailing list