mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
Sound: destructor should be virtual too (#19570)
* destructor should be virtual too * empty commit, trigger tests old-commit-hash: a56bbe167118881608ac8bfc22bbb6f12f7f4c0d
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