c++11 default destructors

This commit is contained in:
Daniel Agar
2018-06-30 19:55:08 -04:00
parent c39ac93ca8
commit 02d4405a62
49 changed files with 38 additions and 214 deletions
+1 -2
View File
@@ -87,13 +87,12 @@ static struct channel_handler_entry {
void *context;
} channel_handlers[MAX_TIMER_IO_CHANNELS];
static void input_capture_chan_handler(void *context, const io_timers_t *timer, uint32_t chan_index,
const timer_io_channels_t *chan,
hrt_abstime isrs_time, uint16_t isrs_rcnt)
{
}
static void input_capture_bind(unsigned channel, capture_callback_t callback, void *context)
{
irqstate_t flags = enter_critical_section();
+1 -5
View File
@@ -212,7 +212,7 @@ class ToneAlarm : public device::CDev
{
public:
ToneAlarm();
~ToneAlarm();
~ToneAlarm() = default;
virtual int init();
@@ -355,10 +355,6 @@ ToneAlarm::ToneAlarm() :
_tune_names[TONE_HOME_SET] = "home_set";
}
ToneAlarm::~ToneAlarm()
{
}
int
ToneAlarm::init()
{