Review Request 111238: Remove <iterator>.end() calls from iteration loops in KDirLister

David Faure faure at kde.org
Wed Jun 26 11:56:44 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111238/#review35114
-----------------------------------------------------------


The change itself looks OK, but all it will do is create a gigantic merge conflict for me in frameworks... is that really worth it?

I think it would be better to make such cleanups in frameworks directly.

- David Faure


On June 26, 2013, 4:44 a.m., Dawit Alemayehu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111238/
> -----------------------------------------------------------
> 
> (Updated June 26, 2013, 4:44 a.m.)
> 
> 
> Review request for kdelibs and David Faure.
> 
> 
> Description
> -------
> 
> The attached patch removes <iterator>.end() from for and while loops in kdirlister.cpp. I made the change only when it can be done safely. The for loops that had the .end() calls in them were replaced with a Q_FOREACH statement.
> 
> 
> Diffs
> -----
> 
>   kio/kio/kdirlister.cpp d66c324 
> 
> Diff: http://git.reviewboard.kde.org/r/111238/diff/
> 
> 
> Testing
> -------
> 
> Run the unit test.
> 
> 
> Thanks,
> 
> Dawit Alemayehu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130626/abf99624/attachment.htm>


More information about the kde-core-devel mailing list