rc_loss_alarm: hiding all but default constructor

This commit is contained in:
Alessandro Simovic
2018-06-26 11:57:51 +02:00
committed by Beat Küng
parent d2b9197587
commit 0f2c710237
+4 -1
View File
@@ -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);
};