D29138: [Solid] Replace foreach (deprecated) with range/index for
Ahmad Samir
noreply at phabricator.kde.org
Fri Apr 24 15:26:42 BST 2020
ahmadsamir marked 4 inline comments as done.
ahmadsamir added a comment.
In D29138#656140 <https://phabricator.kde.org/D29138#656140>, @meven wrote:
> In D29138#656094 <https://phabricator.kde.org/D29138#656094>, @dfaure wrote:
>
> > Wow those iterations over map.keys() were awful.
>
>
> We still have a few of those in solid :
I know. "foreach" marks the place :)
INLINE COMMENTS
> bruns wrote in fakecdrom.cpp:48
> The obviously better solution is to iterate over `supported_medialist` and swap the key and value of the map.
Good point.
REPOSITORY
R245 Solid
BRANCH
l-foreach (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D29138
To: ahmadsamir, #frameworks, dfaure, apol, meven
Cc: bruns, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200424/17c01e72/attachment.html>
More information about the Kde-frameworks-devel
mailing list