-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRY QList and QVLA operator<=>() implementation
Both QList and QVLA defined an if_has_op_less_or_op_compare_three_way trait. The only difference was that QList's implementation was using QTypeTraits::has_operator_less_than_container<>, and thus required a Container template parameter, while QVLA didn't need it. However, QVLA would still work properly with the _container version of the trait, so move the QList's implementation into QtOrderingPrivate and use it consistently in both classes. Task-number: QTBUG-120305 Change-Id: I1e4415ae5a25d4faad218bbad979a49ce851d557 Reviewed-by: Marc Mutz <[email protected]>
- Loading branch information
Showing
3 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters