Merge lp:~aacid/unity-2d/addSomeConstRef into lp:unity-2d
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 851 |
Merged at revision: | 853 |
Proposed branch: | lp:~aacid/unity-2d/addSomeConstRef |
Merge into: | lp:unity-2d |
Diff against target: |
376 lines (+50/-52) 12 files modified
libunity-2d-private/src/launcherapplication.cpp (+3/-3) libunity-2d-private/src/launcherapplication.h (+3/-3) libunity-2d-private/src/launcherapplicationslist.cpp (+1/-1) libunity-2d-private/src/launcherapplicationslist.h (+1/-1) libunity-2d-private/src/place.cpp (+1/-1) libunity-2d-private/src/place.h (+1/-1) libunity-2d-private/src/placeentry.cpp (+18/-18) libunity-2d-private/src/placeentry.h (+18/-20) libunity-2d-private/src/windowimageprovider.cpp (+1/-1) libunity-2d-private/src/windowimageprovider.h (+1/-1) panel/applets/legacytray/x11embedcontainer.cpp (+1/-1) panel/applets/legacytray/x11embedcontainer.h (+1/-1) |
To merge this branch: | bzr merge lp:~aacid/unity-2d/addSomeConstRef |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland (community) | Approve | ||
Review via email: mp+88513@code.launchpad.net |
Description of the change
Add some const &
It is true that those classes are refcounted so the win is not huge, but there's no reason not to save some locks in some atomic integers used for the ref/unrefing
To post a comment you must log in.