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

Common/BitSet: Mark initializer_list constructor as constexpr #11491

Merged
merged 2 commits into from Jan 25, 2023

Conversation

lioncash
Copy link
Member

This was able to be constexpr since C++14.

Consistency change and may now allow initializer_list overloads to be resolved at compile-time (assuming compilers weren't smart enough to do that anyway without the constexpr specifier)

This was able to be constexpr since C++14.
Gets rid of the need to remember to initialize them in the constructor,
except when overriding the default initializer.
@AdmiralCurtiss AdmiralCurtiss merged commit 70b2a67 into dolphin-emu:master Jan 25, 2023
14 checks passed
@lioncash lioncash deleted the set branch January 25, 2023 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants