mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 04:13:33 +08:00
Remove artifical need to virtualize dtors
This commit is contained in:
committed by
James Goppert
parent
499b897e5f
commit
66e1b406b8
@@ -31,8 +31,6 @@ template<typename Type>
|
||||
class AxisAngle : public Vector<Type, 3>
|
||||
{
|
||||
public:
|
||||
~AxisAngle() override = default;
|
||||
|
||||
typedef Matrix<Type, 3, 1> Matrix31;
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,8 +39,6 @@ template<typename Type>
|
||||
class Dcm : public SquareMatrix<Type, 3>
|
||||
{
|
||||
public:
|
||||
virtual ~Dcm() {};
|
||||
|
||||
typedef Matrix<Type, 3, 1> Vector3;
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,8 +40,6 @@ template<typename Type>
|
||||
class Euler : public Vector<Type, 3>
|
||||
{
|
||||
public:
|
||||
virtual ~Euler() {};
|
||||
|
||||
/**
|
||||
* Standard constructor
|
||||
*/
|
||||
|
||||
@@ -32,8 +32,6 @@ public:
|
||||
|
||||
Type _data[M][N];
|
||||
|
||||
virtual ~Matrix() {};
|
||||
|
||||
// Constructors
|
||||
Matrix() : _data() {}
|
||||
|
||||
|
||||
@@ -45,8 +45,6 @@ template<typename Type>
|
||||
class Quaternion : public Vector<Type, 4>
|
||||
{
|
||||
public:
|
||||
virtual ~Quaternion() {};
|
||||
|
||||
typedef Matrix<Type, 4, 1> Matrix41;
|
||||
typedef Matrix<Type, 3, 1> Matrix31;
|
||||
|
||||
|
||||
@@ -17,8 +17,6 @@ template<typename Type>
|
||||
class Scalar
|
||||
{
|
||||
public:
|
||||
virtual ~Scalar() {};
|
||||
|
||||
Scalar() : _value()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -20,8 +20,6 @@ template<typename Type, size_t M>
|
||||
class Vector : public Matrix<Type, M, 1>
|
||||
{
|
||||
public:
|
||||
~Vector() override = default;
|
||||
|
||||
typedef Matrix<Type, M, 1> MatrixM1;
|
||||
|
||||
Vector() : MatrixM1()
|
||||
|
||||
@@ -23,8 +23,6 @@ public:
|
||||
|
||||
typedef Matrix<Type, 2, 1> Matrix21;
|
||||
|
||||
virtual ~Vector2() {};
|
||||
|
||||
Vector2() :
|
||||
Vector<Type, 2>()
|
||||
{
|
||||
|
||||
@@ -29,8 +29,6 @@ public:
|
||||
|
||||
typedef Matrix<Type, 3, 1> Matrix31;
|
||||
|
||||
virtual ~Vector3() {};
|
||||
|
||||
Vector3() :
|
||||
Vector<Type, 3>()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user