Sound: destructor should be virtual too (#19570)

* destructor should be virtual too

* empty commit, trigger tests
pull/19572/head
Dean Lee 5 years ago committed by GitHub
parent 98ca428844
commit a56bbe1671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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