mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 04:03:34 +08:00
use default constructors and skip unnecessary initialization
This commit is contained in:
@@ -24,10 +24,7 @@ template<typename Type, size_t M>
|
||||
class SquareMatrix : public Matrix<Type, M, M>
|
||||
{
|
||||
public:
|
||||
SquareMatrix() :
|
||||
Matrix<Type, M, M>()
|
||||
{
|
||||
}
|
||||
SquareMatrix() = default;
|
||||
|
||||
SquareMatrix(const Type *data_) :
|
||||
Matrix<Type, M, M>(data_)
|
||||
|
||||
Reference in New Issue
Block a user