mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Fix -Wnon-virtual-dtor
`struct ArdourSurface::LaunchControlXL::LED' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
This commit is contained in:
parent
c4d25037c4
commit
6d983d5f0b
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ public:
|
|||
struct LED {
|
||||
LED(uint8_t i, LEDColor c, LaunchControlXL& l) : _index(i), _color(c), _flag(LEDFlag::Normal), lcxl(&l) {}
|
||||
LED(uint8_t i, LEDColor c, LEDFlag f, LaunchControlXL& lcxl) : _index(i), _color(c), _flag(f) {}
|
||||
virtual ~LED() {}
|
||||
|
||||
LEDColor color() const { return _color; }
|
||||
LEDFlag flag() const { return _flag; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue