Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QModelIndex: do not use compareThreeWayMulti() and asTuple()
There are doubts that the implementation would result in a huge template bloat. Also, compareThreeWayMulti() seems to be inefficient, because it copies the tail over and over again. Rewrite the comparison helper functions to get rid of the compareThreeWayMulti() calls. This also allows us to drop the asTuple() method. Amends ece36a7. Found in 6.8 API review. Pick-to: 6.8 Change-Id: I8be4e5f56c350039acde78c2e591e29773f3472c Reviewed-by: Thiago Macieira <[email protected]>
- Loading branch information