Review Request 129698: Avoid double look-up
Aleix Pol Gonzalez
aleixpol at kde.org
Fri Dec 23 16:09:01 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129698/
-----------------------------------------------------------
Review request for KDE Frameworks and Plasma.
Repository: kpackage
Description
-------
Instead of using `contains(key);value(key)`, prefer `it=constFind(key)` and `*it`.
Diffs
-----
src/kpackage/package.cpp 45a8676
Diff: https://git.reviewboard.kde.org/r/129698/diff/
Testing
-------
Tests still pass (except for the two that need fixing.
Thanks,
Aleix Pol Gonzalez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161223/4611582e/attachment.html>
More information about the Plasma-devel
mailing list