Skip to content
Snippets Groups Projects
Commit 2bf6a734 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

use `std::make_unique`

parent e8223df8
No related branches found
No related tags found
1 merge request!147use `std::make_unique`
......@@ -943,7 +943,7 @@ namespace Dune
{
// create iteration matrix on demand
if (!itMatrix_)
itMatrix_ = std::unique_ptr<BCRSMatrix>(new BCRSMatrix(m_));
itMatrix_ = std::make_unique<BCRSMatrix>(m_);
// return iteration matrix
return *itMatrix_;
......
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