Shortified names, instead of state.getEclipseConfig().getSummaryConfig(), use state.cfg().summary()

This commit is contained in:
Pål Grønås Drange
2016-08-08 11:39:59 +02:00
parent dde7a25673
commit 41b158bb2b
10 changed files with 72 additions and 29 deletions

View File

@@ -625,8 +625,9 @@ bool parseState( ParserState& parserState, const Parser& parser ) {
EclipseState Parser::parse(const std::string &filename, const ParseContext& context) {
assertFullDeck(context);
Parser p;
auto deck = p.parseFile(filename, context);
return EclipseState(deck, context);
DeckPtr deck = p.parseFile(filename, context);
EclipseState es(deck, context);
return es;
}
EclipseState Parser::parse(const Deck& deck, const ParseContext& context) {