Skip to content

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

Merged
bska merged 1 commit intoOPM:masterfrom
joakim-hove:trim-common-includes
Apr 19, 2021
Merged

Avoid include of Parser.hpp and Deck.hpp#522
bska merged 1 commit intoOPM:masterfrom
joakim-hove:trim-common-includes

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.

2 participants