Sound: destructor should be virtual too (#19570)

* destructor should be virtual too

* empty commit, trigger tests
old-commit-hash: a56bbe1671
commatwo_master
Dean Lee 5 years ago committed by GitHub
parent 971db4cb26
commit 36a283eac4
  1. 1
      selfdrive/ui/sound.hpp

@ -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;

Loading…
Cancel
Save