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

Merge branch 'cleanup/use-make_unique' into 'master'

use `std::make_unique`

See merge request core/dune-istl!147
parents 55848646 2bf6a734
No related branches found
No related tags found
No related merge requests found
......@@ -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