D24220: [src/ioslaves/*] replace deprecated foreach with range for

David Faure noreply at phabricator.kde.org
Thu Sep 26 14:24:49 BST 2019


dfaure added inline comments.

INLINE COMMENTS

> ahmadsamir wrote in http.cpp:2612
> Right. A temporary; but since it's a qstringlist it's implicitly shared.

Yes it is, so non-const begin() will detach and make a full copy.

REPOSITORY
  R241 KIO

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

To: ahmadsamir, #frameworks, dfaure
Cc: 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/20190926/effbe6ae/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list