Replaces unecessary header includes with fwd decls
Every header is self-contained and includes only what it must to function, relying on users include what they need in source files, adopting a pay-what-you-use model (in particular for internal dependencies).
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
||||
#include <opm/parser/eclipse/Parser/ParseMode.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Grid/TransMult.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/CompletionSet.hpp>
|
||||
@@ -39,9 +40,9 @@ using namespace Opm;
|
||||
|
||||
BOOST_AUTO_TEST_CASE(MULTFLT_IN_SCHEDULE) {
|
||||
ParserPtr parser(new Parser());
|
||||
boost::filesystem::path scheduleFile("testdata/integration_tests/TRANS/Deck1");
|
||||
std::string scheduleFile("testdata/integration_tests/TRANS/Deck1");
|
||||
ParseMode parseMode;
|
||||
DeckPtr deck = parser->parseFile(scheduleFile.string(), parseMode);
|
||||
DeckPtr deck = parser->parseFile(scheduleFile, parseMode);
|
||||
std::shared_ptr<EclipseState> eclState = std::make_shared<EclipseState>( deck , parseMode );
|
||||
std::shared_ptr<const TransMult> trans = eclState->getTransMult();
|
||||
std::shared_ptr<const Schedule> schedule = eclState->getSchedule();
|
||||
|
||||
Reference in New Issue
Block a user