binding reference of type 'Matrix<int, 3, 3>&' to 'const Matrix<int, 3, 3>' discards qualifiers code example
Example: binding reference of type discards qualifiers
Error is simple. Your constructor takes const reference but then you try to bind it into non-const reference member.