mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Get rid deprecation warning for newer DUNE versions.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user