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

GCMemcardUtils: Make use of std::span where applicable #11909

Merged
merged 2 commits into from Jun 8, 2023

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Jun 8, 2023

Generifies bits of the interface so that some functions aren't explicitly tied down to only using std::vector.

While we're in the area, we can tidy up the EnumMap definitions in the GCMemcardManager so that there's no duplication of the constant name over and over.

Generifies bits of the interface so that some functions aren't
explicitly tied down to only using std::vector.
We can make a small alias that gets rid of the need to repeat the long
constant.
@AdmiralCurtiss AdmiralCurtiss merged commit e3cae72 into dolphin-emu:master Jun 8, 2023
14 checks passed
@lioncash lioncash deleted the spans branch June 8, 2023 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants