Merge lp:~aacid/unity-2d/foreachconstref into lp:unity-2d
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 790 |
Merged at revision: | 790 |
Proposed branch: | lp:~aacid/unity-2d/foreachconstref |
Merge into: | lp:unity-2d |
Diff against target: |
143 lines (+12/-12) 9 files modified
libunity-2d-private/src/indicatorswidget.cpp (+2/-2) libunity-2d-private/src/launcherapplication.cpp (+1/-1) libunity-2d-private/src/launcherapplicationslist.cpp (+1/-1) libunity-2d-private/src/launcherdropitem.cpp (+2/-2) libunity-2d-private/src/mimedata.cpp (+1/-1) libunity-2d-private/src/trash.cpp (+2/-2) panel/app/panelmanager.cpp (+1/-1) panel/applets/appindicator/appindicatorapplet.cpp (+1/-1) panel/applets/appname/menubarwidget.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~aacid/unity-2d/foreachconstref |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland (community) | Approve | ||
Review via email: mp+83257@code.launchpad.net |
Commit message
[code] Add const & for foreach "iterators"
Avoids a copy of each object. It is true that most of those objects are
implicitly shared so the win isn't huge but we still save some atomic/
Description of the change
[code] Add const & for foreach "iterators"
Avoids a copy of each object. It is true that most of those objects are
implicitly shared so the win isn't huge but we still save some atomic/
To post a comment you must log in.
Great, thank you!