From 0fbcd7d895f3b3e661b0b71f1450fd7a711403a4 Mon Sep 17 00:00:00 2001 From: danshapero Date: Thu, 31 Mar 2016 20:56:15 -0700 Subject: [PATCH] SparseMatrix move ctor now moves its parent Subscriptor --- include/deal.II/lac/sparse_matrix.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/lac/sparse_matrix.templates.h b/include/deal.II/lac/sparse_matrix.templates.h index d95404deef..f4c7060b07 100644 --- a/include/deal.II/lac/sparse_matrix.templates.h +++ b/include/deal.II/lac/sparse_matrix.templates.h @@ -73,7 +73,7 @@ SparseMatrix::SparseMatrix (const SparseMatrix &m) template SparseMatrix::SparseMatrix (SparseMatrix &&m) : - Subscriptor(), + Subscriptor(std::move(m)), cols(m.cols), val(m.val), max_len(m.max_len) -- 2.39.5