D27965: [KPasswdServer] replace foreach with range/index-based for

Méven Car noreply at phabricator.kde.org
Tue Mar 10 15:41:06 GMT 2020


meven added a comment.


  In D27965#625381 <https://phabricator.kde.org/D27965#625381>, @apol wrote:
  
  > Looks good to me, I wonder why you turned some to for+iterators.
  
  
  Those modified the list as they iterated through the list : `authList->removeOne(current);`

REPOSITORY
  R241 KIO

BRANCH
  l-kpasswdserver (branched from master)

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

To: ahmadsamir, #frameworks, dfaure, meven
Cc: apol, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200310/b7315e6b/attachment.html>


More information about the Kde-frameworks-devel mailing list