Change Deck access methods/types to references

opm-parser#677 changes the return types for the Deck family of classes.
This patch fixes all broken code from that patch set.

https://github.com/OPM/opm-parser/pull/677
This commit is contained in:
Jørgen Kvalsvik
2016-02-09 16:05:00 +01:00
parent af2455fdbe
commit 19e41bd246
6 changed files with 26 additions and 26 deletions

View File

@@ -155,7 +155,7 @@ try
std::shared_ptr<EclipseState> eclipseState;
try {
deck = parser->parseFile(deck_filename , parseMode);
Opm::checkDeck(deck);
Opm::checkDeck(deck, parser);
eclipseState.reset(new Opm::EclipseState(deck , parseMode));
}
catch (const std::invalid_argument& e) {