D23839: Port away from Qt's foreach

Vlad Zagorodniy noreply at phabricator.kde.org
Tue Sep 10 16:42:59 BST 2019


zzag added inline comments.

INLINE COMMENTS

> zzag wrote in kwindowsystem_threadtest.cpp:61
> I asked that because `for (const Type &item : collection) {` is more common. I know that const ref doesn't have any advantages here.

In either case, this change is good to go. However, it would be great to capture values by const ref.

REPOSITORY
  R278 KWindowSystem

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

To: kossebau, #kwin, zzag
Cc: aacid, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190910/9bd089da/attachment.html>


More information about the Kde-frameworks-devel mailing list