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

LinearDiskCache: Don't cast away const in Read() #6548

Merged
merged 1 commit into from Mar 28, 2018

Conversation

lioncash
Copy link
Member

We really shouldn't make the out pointer in the read function const and then summarily cast it away. Also alters Write() to be consistent with casting.

We really shouldn't make the out pointer in the read function const and
then summarily cast it away. Also alters Write to be consistent with
casting.
@delroth
Copy link
Member

delroth commented Mar 28, 2018

lol

@delroth delroth merged commit ac97f04 into dolphin-emu:master Mar 28, 2018
@lioncash lioncash deleted the const branch March 28, 2018 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants