mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 14:20:34 +08:00
rc_loss_alarm: hiding all but default constructor
This commit is contained in:
committed by
Beat Küng
parent
d2b9197587
commit
0f2c710237
@@ -71,6 +71,9 @@ private:
|
||||
static void stop_tune();
|
||||
static int reset_module();
|
||||
|
||||
// Do not allow class copies
|
||||
// Hide all but the default constructor
|
||||
RC_Loss_Alarm(const RC_Loss_Alarm &other);
|
||||
RC_Loss_Alarm(const RC_Loss_Alarm &&other);
|
||||
RC_Loss_Alarm &operator= (const RC_Loss_Alarm &other);
|
||||
RC_Loss_Alarm &operator= (const RC_Loss_Alarm &&other);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user