Merge lp:~jpakkane/unity-scope-click/classness into lp:unity-scope-click
Proposed by
Jussi Pakkanen
Status: | Work in progress |
---|---|
Proposed branch: | lp:~jpakkane/unity-scope-click/classness |
Merge into: | lp:unity-scope-click |
Diff against target: |
159 lines (+78/-30) 2 files modified
scope/click/index.cpp (+58/-26) scope/click/index.h (+20/-4) |
To merge this branch: | bzr merge lp:~jpakkane/unity-scope-click/classness |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomas Voß (community) | Disapprove | ||
PS Jenkins bot | continuous-integration | Approve | |
Ubuntu One hackers | Pending | ||
Review via email: mp+205768@code.launchpad.net |
Commit message
Made structs more C++-like.
Description of the change
Made a few structs more C++-like. This includes moving comparison operators to class methods. This is the commonly accepted best practice. Also made PackageDetails JSON parsing work via a constructor.
To post a comment you must log in.
Unmerged revisions
- 134. By Jussi Pakkanen
-
Removed redundant thises.
- 133. By Jussi Pakkanen
-
Made Package and PackageDetails more classlike.
- 132. By Jussi Pakkanen
-
Moved comparison operators to member functions as is the recommended way.
PASSED: Continuous integration, rev:134 jenkins. qa.ubuntu. com/job/ unity-scope- click-ci/ 256/ jenkins. qa.ubuntu. com/job/ unity-scope- click-trusty- amd64-ci/ 154 jenkins. qa.ubuntu. com/job/ unity-scope- click-trusty- armhf-ci/ 154
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- scope-click- ci/256/ rebuild
http://