diff --git a/ApplicationLibCode/ProjectDataModel/RiaOpmParserTools.cpp b/ApplicationLibCode/ProjectDataModel/RiaOpmParserTools.cpp index ef6589d363..7e5aed86c2 100644 --- a/ApplicationLibCode/ProjectDataModel/RiaOpmParserTools.cpp +++ b/ApplicationLibCode/ProjectDataModel/RiaOpmParserTools.cpp @@ -27,6 +27,7 @@ #include "opm/common/utility/OpmInputError.hpp" #include "opm/input/eclipse/Deck/Deck.hpp" +#include "opm/input/eclipse/Parser/InputErrorAction.hpp" #include "opm/input/eclipse/Parser/ParseContext.hpp" #include "opm/input/eclipse/Parser/Parser.hpp" #include "opm/input/eclipse/Parser/ParserKeywords/G.hpp" @@ -115,7 +116,7 @@ std::pair, std::vector> extract parser.addParserKeyword( kw ); } - Opm::ParseContext parseContext( Opm::InputError::Action::WARN ); + Opm::ParseContext parseContext( Opm::InputErrorAction::WARN ); auto deck = parser.parseFile( dataDeckFilename, parseContext ); { @@ -174,7 +175,7 @@ std::map>> extractWseglink( const s parser.addParserKeyword( kw3 ); std::stringstream ss; - Opm::ParseContext parseContext( Opm::InputError::Action::WARN ); + Opm::ParseContext parseContext( Opm::InputErrorAction::WARN ); auto deck = parser.parseFile( filename, parseContext ); std::string keyword = "WSEGLINK"; @@ -246,7 +247,7 @@ std::vector extractWsegAicd( const std::s parser.addParserKeyword( kw3 ); std::stringstream ss; - Opm::ParseContext parseContext( Opm::InputError::Action::WARN ); + Opm::ParseContext parseContext( Opm::InputErrorAction::WARN ); auto deck = parser.parseFile( filename, parseContext ); const std::string keyword = "WSEGAICD";