Using new string based ParseMode api.

This commit is contained in:
Joakim Hove 2015-08-09 21:55:14 +02:00
parent d00d78453c
commit 6680279815

View File

@ -213,10 +213,9 @@ try
Opm::OpmLog::addBackend( "COUNTER" , counterLog );
}
Opm::ParseMode parseMode;
Opm::ParseMode parseMode({{ ParseMode::PARSE_RANDOM_SLASH , InputError::IGNORE }});
Opm::DeckConstPtr deck;
std::shared_ptr<EclipseState> eclipseState;
parseMode.randomSlash = InputError::IGNORE;
try {
deck = parser->parseFile(deck_filename, parseMode);
Opm::checkDeck(deck);