Skip to content
Snippets Groups Projects
Commit 7be8aee3 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove copy constructor

parent bfa5be8c
No related branches found
No related tags found
1 merge request!425Resolve "Ubuntu 20 not compiling"
......@@ -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);
// MatrixComposite (const MatrixComposite& m);
/**
* \brief Construct from Eigen::VectorXd and structure
*
......@@ -358,12 +358,12 @@ 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_)
{
}
}
//inline MatrixComposite::MatrixComposite (const MatrixComposite& m)
// : unordered_map<char, unordered_map<char, MatrixXd> >(m), size_rows_(m.size_rows_), size_cols_(m.size_cols_)
//{
//}
//
//}
#endif /* STATE_BLOCK_STATE_COMPOSITE_H_ */
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