Merge lp://staging/~azzar1/nux/nux-layout-nvi into lp://staging/nux
Proposed by
Andrea Azzarone
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~azzar1/nux/nux-layout-nvi |
Merge into: | lp://staging/nux |
Diff against target: |
653 lines (+171/-294) 7 files modified
Nux/LayeredLayout.cpp (+15/-13) Nux/LayeredLayout.h (+14/-11) Nux/Layout.cpp (+71/-57) Nux/Layout.h (+70/-26) Nux/LinearLayout.cpp (+0/-156) Nux/LinearLayout.h (+0/-30) configure.ac (+1/-1) |
To merge this branch: | bzr merge lp://staging/~azzar1/nux/nux-layout-nvi |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Francis Ginther | Abstain | ||
Unity Team | Pending | ||
Review via email: mp+117236@code.staging.launchpad.net |
Commit message
Use NVI for AddLayout/
Description of the change
== Problem ==
nux::LinearLayout and nux::LayeredLayout redefine nux::Layout functions with default parameters. This is not advisable because default values are statically bound.
== Fix ==
Use NVI (no virtual implementation).
== Test ==
Not applicable.
To post a comment you must log in.
Unmerged revisions
- 640. By Andrea Azzarone
-
Minor changes.
- 639. By Andrea Azzarone
-
Use NVI for AddLayout/
AddView/ AddSpace to avoid to redefine a function's inherited default parameter value.
Review was claimed by accident, please ignore.