mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 19:13:33 +08:00
use default constructors and skip unnecessary initialization
This commit is contained in:
+1
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user