Skip to content
Snippets Groups Projects
Commit 5b4a8cc9 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Use std::make_unique

parent 7c400af1
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ setup(const GridType& grid, ...@@ -65,7 +65,7 @@ setup(const GridType& grid,
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
#if HAVE_MPI #if HAVE_MPI
globalMapper_ = std::unique_ptr<GlobalMapper>(new GlobalMapper(grid_->leafGridView())); globalMapper_ = std::make_unique<GlobalMapper>(grid_->leafGridView());
#endif #endif
// //////////////////////////////// // ////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment