Compiler error UG grid level iterator
With dune master I get the following error with gcc 9.3
/data/dune-grid/dune/grid/uggrid/uggridleveliterator.hh:77:44: error: invalid conversion from ‘void*’ to ‘Dune::UG_NS<3>::Entity<1>::T*’ {aka ‘UG::D3::vector*’} [-fpermissive]
77 | entity.setToTarget(UG_NS<dim>::succ(entity.getTarget()),gridImp_);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
| |
| void*
and this with clang 10
/data/dune-grid/dune/grid/uggrid/uggridleveliterator.hh:77:16: error: no matching member function for call to 'setToTarget'
entity.setToTarget(UG_NS<dim>::succ(entity.getTarget()),gridImp_);
~~~~~~~^~~~~~~~~~~