mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 08:37:35 +08:00
clang-tidy modernize-use-equals-default
This commit is contained in:
committed by
Lorenz Meier
parent
9b5df10631
commit
4e32cb17df
@@ -54,13 +54,9 @@ Integrator::Integrator(uint64_t auto_reset_interval, bool coning_compensation) :
|
||||
_last_delta_alpha(0.0f, 0.0f, 0.0f),
|
||||
_coning_comp_on(coning_compensation)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Integrator::~Integrator()
|
||||
{
|
||||
|
||||
}
|
||||
Integrator::~Integrator() = default;
|
||||
|
||||
bool
|
||||
Integrator::put(uint64_t timestamp, matrix::Vector3f &val, matrix::Vector3f &integral, uint64_t &integral_dt)
|
||||
|
||||
@@ -72,9 +72,7 @@ LED::LED() : CDev("led", LED0_DEVICE_PATH)
|
||||
init();
|
||||
}
|
||||
|
||||
LED::~LED()
|
||||
{
|
||||
}
|
||||
LED::~LED() = default;
|
||||
|
||||
int
|
||||
LED::init()
|
||||
|
||||
Reference in New Issue
Block a user