Merge pull request #4169 from blattms/dune-2.9-fix-deprecations

Dune 2.9 fix deprecations
This commit is contained in:
Atgeirr Flø Rasmussen
2022-10-17 15:17:29 +02:00
committed by GitHub
6 changed files with 42 additions and 10 deletions

View File

@@ -64,15 +64,18 @@ public:
return codim == 0;
}
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
bool fixedsize(int /* dim */, int /* codim */) const
{
return true;
}
#else
bool fixedSize(int /* dim */, int /* codim */) const
{
return true;
}
#endif
template<class EntityType>
std::size_t size(const EntityType /* entity */) const
{