mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
FemCpGridCompat: some modernization
- typedef -> using
This commit is contained in:
parent
5e9610fdb9
commit
8ce0f63ef6
@ -57,8 +57,8 @@ namespace Fem {
|
||||
template<int codim>
|
||||
struct GridEntityAccess<Dune::cpgrid::Entity<codim> >
|
||||
{
|
||||
typedef Dune::cpgrid::Entity<codim> EntityType;
|
||||
typedef EntityType GridEntityType;
|
||||
using EntityType = Dune::cpgrid::Entity<codim>;
|
||||
using GridEntityType = EntityType;
|
||||
|
||||
static const GridEntityType& gridEntity(const EntityType& entity)
|
||||
{ return entity; }
|
||||
|
Loading…
Reference in New Issue
Block a user