From 09a985660c138c07f35e442983282b880a6dc229 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 1 Aug 2024 10:28:37 -0600 Subject: [PATCH] Add a forgotten std::move(...) use. --- 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 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) { -- 2.39.5