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

Remove unnecessary ConfigManager includes #4474

Merged
merged 1 commit into from Nov 28, 2016

Conversation

leoetlino
Copy link
Member

@leoetlino leoetlino commented Nov 27, 2016

Making changes to ConfigManager.h has always been a pain, because it means rebuilding half of Dolphin, since a lot of files depend on and include this header.

However, it turns out some includes are unnecessary. This PR removes ConfigManager includes from files which don't actually use anything from the header, and fixes some indirect includes.


This change is Reviewable

Making changes to ConfigManager.h has always been a pain, because
it means rebuilding half of Dolphin, since a lot of files depend on
and include this header.

However, it turns out some includes are unnecessary. This commit
removes ConfigManager includes from files which don't contain
SConfig or GPUDeterminismMode or GPU_DETERMINISM (which means the
ConfigManager include is not used).

(I've also had to get rid of some indirect includes.)
@stenzek
Copy link
Contributor

stenzek commented Nov 28, 2016

:lgtm:


Reviewed 36 of 36 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@degasus degasus merged commit 8dddc00 into dolphin-emu:master Nov 28, 2016
@leoetlino leoetlino deleted the fewer-config-includes branch November 28, 2016 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants