clang-tidy: partially fix modernize-use-equals-default

This commit is contained in:
Daniel Agar
2019-10-27 19:19:07 -04:00
parent 967446af4c
commit 380cae18d1
32 changed files with 31 additions and 40 deletions
@@ -56,6 +56,7 @@ class FixedwingLandDetector final : public LandDetector
{
public:
FixedwingLandDetector();
~FixedwingLandDetector() override = default;
protected:
@@ -60,6 +60,7 @@ class MulticopterLandDetector : public LandDetector
{
public:
MulticopterLandDetector();
~MulticopterLandDetector() override = default;
protected:
void _update_params() override;
@@ -50,6 +50,7 @@ class RoverLandDetector : public LandDetector
{
public:
RoverLandDetector() = default;
~RoverLandDetector() override = default;
protected:
bool _get_ground_contact_state() override;
@@ -46,10 +46,6 @@
namespace land_detector
{
VtolLandDetector::VtolLandDetector()
{
}
void VtolLandDetector::_update_topics()
{
MulticopterLandDetector::_update_topics();
+2 -1
View File
@@ -52,7 +52,8 @@ namespace land_detector
class VtolLandDetector : public MulticopterLandDetector
{
public:
VtolLandDetector();
VtolLandDetector() = default;
~VtolLandDetector() override = default;
protected:
void _update_topics() override;
-4
View File
@@ -66,10 +66,6 @@ MavlinkULog::MavlinkULog(int datarate, float max_rate_factor, uint8_t target_sys
_next_rate_check = _last_sent_time + _rate_calculation_delta_t * 1.e6f;
}
MavlinkULog::~MavlinkULog()
{
}
void MavlinkULog::start_ack_received()
{
if (_waiting_for_initial_ack) {
+1 -1
View File
@@ -102,7 +102,7 @@ private:
MavlinkULog(int datarate, float max_rate_factor, uint8_t target_system, uint8_t target_component);
~MavlinkULog();
~MavlinkULog() = default;
static void lock()
{