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

FileUtil: Remove duplication in FileInfo constructor #9916

Conversation

Dentomologist
Copy link
Contributor

On non-Windows platforms FileUtil's FileInfo(std::string) constructor initialized itself with the char* constructor, then did the same thing in its own function body. In addition to being duplicate code this resulted in two stats (or possibly worse on Android).

@JMC47 JMC47 merged commit c184569 into dolphin-emu:master Jul 19, 2021
11 checks passed
@Dentomologist Dentomologist deleted the fileinfo_constructor_remove_duplication branch July 19, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants