Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace deprecated qAsConst with std::as_const() #1565

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

NickCao
Copy link
Contributor

@NickCao NickCao commented Oct 11, 2023

Reference: https://github.com/qt/qtbase/blob/v6.6.0/src/corelib/global/qttypetraits.h#L32

Tested building with qt 6.6.0, 6.5.3 and 5.15.10

@NickCao NickCao requested a review from trollixx as a code owner October 11, 2023 02:44
@trollixx trollixx merged commit 9630cc9 into zealdocs:main Oct 29, 2023
11 checks passed
@trollixx trollixx changed the title treewide: replace deprecated qAsConst with std::as_const() refactor: replace deprecated qAsConst with std::as_const() Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants