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

xrEngine/defines.cpp: use designated init #1797

Merged
merged 1 commit into from
Feb 28, 2025
Merged

Conversation

Honkazel
Copy link
Contributor

https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html

C++20 supports the designated initializer syntax for aggregate types. By applying it, we can always be sure that aggregates are constructed correctly, because every variable being initialized is referenced by its name.

@Xottab-DUTY Xottab-DUTY changed the title defines.cpp: use designated init xrEngine/defines.cpp: use designated init Feb 28, 2025
@Xottab-DUTY Xottab-DUTY merged commit 72ce17b into OpenXRay:dev Feb 28, 2025
32 of 33 checks passed
@Xottab-DUTY
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants