Remove the intermediate type ToUniquePtr from GridFactory
Summary
This MR replaces ToUniquePtr
with std::unique_ptr
and removes the include dune/common/to_unique_ptr.hh
.
Details
The intermediate type ToUniquePtr
was just introduced as transition type to deprecate raw pointers in factories. This transition period is now over and in dune-common the transition type will be deprecated as well, see dune-common!912 (merged)
Dependencies
This MR requires dune-common!912 (merged) to be merged before.
Edited by Simon Praetorius