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:
Arne Morten Kvarving 2020-03-24 15:23:03 +01:00 committed by GitHub
commit c504002568
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;