Also pass the parseContext and errorGuard to Opm::checkDeck()

This is now mandated since the checkDeck interface was changed recently.
Otherwise compilation errors out.
This commit is contained in:
Markus Blatt 2019-04-10 15:01:52 +02:00
parent 81b7af1d8a
commit 9f49e3fc26

View File

@ -188,7 +188,7 @@ int mainFlow(int argc, char** argv)
std::shared_ptr<Opm::Deck> deck = std::make_shared< Opm::Deck >( parser.parseFile(deckFilename , parseContext, errorGuard) );
if ( outputCout ) {
Opm::checkDeck(*deck, parser);
Opm::checkDeck(*deck, parser, parseContext, errorGuard);
Opm::MissingFeatures::checkKeywords(*deck);
}
//Opm::Runspec runspec( *deck );