Minor refactor. Changed shared_ptr to references in EclipseState, MULTREGTScanner and FaultCollection

This commit is contained in:
Pål Grønås Drange
2016-06-20 12:27:56 +02:00
parent 88c55dcd91
commit ff9ee958d7
13 changed files with 108 additions and 118 deletions

View File

@@ -66,7 +66,7 @@ BOOST_AUTO_TEST_CASE( test_state ) {
parser.addKeyword<ParserKeywords::GRID>();
auto deck = parser.parseFile("testdata/integration_tests/Resinsight/DECK1.DATA" , parseContext);
auto grid = std::make_shared<EclipseGrid>( deck );
auto gsec = std::make_shared< GRIDSection >( *deck );
auto faults = std::make_shared<FaultCollection>( gsec, grid );
auto grid = std::make_shared<EclipseGrid>(deck);
GRIDSection gsec(*deck);
FaultCollection faults(gsec, *grid);
}