From: Wolfgang Bangerth Date: Thu, 1 Aug 2024 16:28:37 +0000 (-0600) Subject: Add a forgotten std::move(...) use. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09a985660c138c07f35e442983282b880a6dc229;p=dealii.git Add a forgotten std::move(...) use. --- diff --git a/include/deal.II/lac/sparse_matrix.templates.h b/include/deal.II/lac/sparse_matrix.templates.h index a2202bef34..114569017a 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) noexcept : Subscriptor(std::move(m)) - , cols(m.cols) + , cols(std::move(m.cols)) , val(std::move(m.val)) , max_len(m.max_len) {