mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Merge pull request #603 from blattms/fix-dune-shared_ptr-comp
Fix compilation issues due to removed Dune::shared_ptr.
This commit is contained in:
commit
c504002568
@ -72,7 +72,7 @@ class CubeGridVanguard : public BaseVanguard<TypeTag>
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Simulator) Simulator;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
|
||||
|
||||
typedef Dune::shared_ptr<Grid> GridPointer;
|
||||
typedef std::unique_ptr<Grid> GridPointer;
|
||||
typedef typename Grid::ctype CoordScalar;
|
||||
enum { dimWorld = Grid::dimensionworld };
|
||||
typedef Dune::FieldVector<CoordScalar, dimWorld> GlobalPosition;
|
||||
|
@ -65,7 +65,7 @@ class SimplexGridVanguard
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Simulator) Simulator;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
|
||||
|
||||
typedef Dune::shared_ptr<Grid> GridPointer;
|
||||
typedef std::unique_ptr<Grid> GridPointer;
|
||||
typedef typename Grid::ctype CoordScalar;
|
||||
enum { dimWorld = Grid::dimensionworld };
|
||||
typedef Dune::FieldVector<CoordScalar, dimWorld> GlobalPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user