From 012fe47176f8a63a4a59d76775f9cab90b52d2a0 Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Thu, 11 Nov 2021 13:20:19 +0100 Subject: [PATCH] Remove copy constructor --- include/core/state_block/state_composite.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/core/state_block/state_composite.h b/include/core/state_block/state_composite.h index d0ddf4e7f..1c675c7b7 100644 --- a/include/core/state_block/state_composite.h +++ b/include/core/state_block/state_composite.h @@ -99,7 +99,7 @@ class MatrixComposite : public std::unordered_map < char, std::unordered_map < c const std::list<int>& _row_sizes, const StateStructure& _col_structure, const std::list<int>& _col_sizes); - MatrixComposite (const MatrixComposite& m); + /** * \brief Construct from Eigen::VectorXd and structure * @@ -358,11 +358,6 @@ inline StateBlockPtr wolf::StateBlockComposite::emplace(const char &_sb_type, return sb; } -inline MatrixComposite::MatrixComposite (const MatrixComposite& m) - : unordered_map<char, unordered_map<char, MatrixXd> >(m), size_rows_(m.size_rows_), size_cols_(m.size_cols_) -{ -} - } -- GitLab