use default constructors and skip unnecessary initialization

This commit is contained in:
Daniel Agar
2018-08-31 08:11:02 +02:00
committed by Beat Küng
parent 1bcf48bd82
commit f1bee775a0
11 changed files with 37 additions and 70 deletions
+1 -3
View File
@@ -22,9 +22,7 @@ class Vector : public Matrix<Type, M, 1>
public:
typedef Matrix<Type, M, 1> MatrixM1;
Vector() : MatrixM1()
{
}
Vector() = default;
Vector(const MatrixM1 & other) :
MatrixM1(other)