FemCpGridCompat: some modernization

- typedef -> using
This commit is contained in:
Arne Morten Kvarving 2022-08-10 12:35:38 +02:00
parent 5e9610fdb9
commit 8ce0f63ef6

View File

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