The old API had a single method "add" which then by the second parameter
being a nullptr or not decided whether to insert before that page
as given by the second parameter or append at the end.
This confused code readers a little, so splitting into
two distinct methods following std list API conventions
("append(x)" vs. "insert(before, x)") should improve things,
even if at the cost of an additional symbol.
Details
Details
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.