mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-05 16:25:41 +08:00
Sound: destructor should be virtual too (#19570)
* destructor should be virtual too * empty commit, trigger tests
This commit is contained in:
@@ -18,6 +18,7 @@ static std::map<AudibleAlert, std::pair<const char *, int>> sound_map {
|
||||
|
||||
class Sound {
|
||||
public:
|
||||
virtual ~Sound() {}
|
||||
virtual bool play(AudibleAlert alert) = 0;
|
||||
virtual void stop() = 0;
|
||||
virtual void setVolume(int volume) = 0;
|
||||
|
||||
Reference in New Issue
Block a user