diff --git a/opm/autodiff/FlowMain.hpp b/opm/autodiff/FlowMain.hpp index a1ffb6aa2..9a5a7fdaa 100644 --- a/opm/autodiff/FlowMain.hpp +++ b/opm/autodiff/FlowMain.hpp @@ -413,7 +413,7 @@ namespace Opm ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE }}); deck_ = parser->parseFile(deck_filename, parseContext); checkDeck(deck_, parser); - MissingFeatures::checkKeywords(deck_, parser); + MissingFeatures::checkKeywords(deck_); eclipse_state_.reset(new EclipseState(deck_, parseContext)); auto ioConfig = eclipse_state_->getIOConfig(); ioConfig->setOutputDir(output_dir_); diff --git a/opm/autodiff/MissingFeatures.cpp b/opm/autodiff/MissingFeatures.cpp index 102db4e06..7f8524d6f 100644 --- a/opm/autodiff/MissingFeatures.cpp +++ b/opm/autodiff/MissingFeatures.cpp @@ -28,7 +28,7 @@ namespace Opm { namespace MissingFeatures { - void checkKeywords(DeckConstPtr deck, ParserConstPtr parser) + void checkKeywords(DeckConstPtr deck) { // These keywords are supported by opm-parser, but are not supported // by flow. For some of them, only part of the options are supported. diff --git a/opm/autodiff/MissingFeatures.hpp b/opm/autodiff/MissingFeatures.hpp index c0c3d8442..9a55d2a55 100644 --- a/opm/autodiff/MissingFeatures.hpp +++ b/opm/autodiff/MissingFeatures.hpp @@ -24,7 +24,7 @@ namespace Opm { namespace MissingFeatures { - void checkKeywords(std::shared_ptr deck, std::shared_ptr parser); + void checkKeywords(std::shared_ptr deck); }