Compiler warning in albertagrid/dgfparser.cc
[ 0%] Building CXX object lib/CMakeFiles/dunealbertagrid_1d.dir/__/dune/grid/albertagrid/dgfparser.cc.o
/home/sander/dune/dune-grid/dune/grid/albertagrid/dgfparser.cc: In instantiation of ‘bool Dune::DGFGridFactory<Dune::AlbertaGrid<dim, dimworld> >::generate(std::istream&) [with int dim = 1; int dimworld = 1; std::istream = std::basic_istream<char>]’:
/home/sander/dune/dune-grid/dune/grid/albertagrid/dgfparser.cc:125:19: required from here
/home/sander/dune/dune-grid/dune/grid/albertagrid/dgfparser.cc:116:11: warning: ‘Dune::ToUniquePtr<T>::operator Dune::ToUniquePtr<T>::pointer() [with T = Dune::AlbertaGrid<1, 1>; Dune::ToUniquePtr<T>::pointer = Dune::AlbertaGrid<1, 1>*]’ is deprecated: "Cast to raw pointer is deprecated. Use std::unique_ptr or std::shared_ptr instead." [-Wdeprecated-declarations]
grid_ = factory_.createGrid();
I wouldn't mind if that was fixed in 2.7.