shared_ptr<EclipseGrid> -> const EclipseGrid&

This commit is contained in:
Joakim Hove
2016-08-31 10:02:24 +02:00
parent 656e9438c8
commit 6eab1b9954
7 changed files with 13 additions and 13 deletions

View File

@@ -78,7 +78,7 @@ try
Opm::DeckConstPtr deck(parser->parseFile(eclipseFilename, parseContext));
eclState.reset(new EclipseState(*deck, parseContext));
GridManager gm(eclState->getInputGrid());
GridManager gm(*eclState->getInputGrid());
const UnstructuredGrid& grid = *gm.c_grid();
using boost::filesystem::path;
path fpath(eclipseFilename);