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

Avoid include of Parser.hpp and Deck.hpp #522

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

joakim-hove
Copy link
Member

@joakim-hove joakim-hove commented Apr 19, 2021

The file OpmParserIncludes.hpp includes the header parser/Parser.hpp which transitively brings in half of opm-common. In particular it allowed for silent usage of Deck in: #517.

With this PR only the "really needed" headers are included with the OpmParserIncludes.hpp. If this is merged #517 will need to explicitly include the dependencies from opm-common; which is in my opinion a good thing.

As an aside I would really like to reignite this: #401

@joakim-hove
Copy link
Member Author

jenkins build this please

@bska
Copy link
Member

bska commented Apr 19, 2021

Thanks. I'll merge into master.

@bska bska merged commit a28f0bd into OPM:master Apr 19, 2021
@joakim-hove joakim-hove deleted the trim-common-includes branch April 19, 2021 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants