commit | d2e8cb55565fbf32e37ada5d98f002792525c597 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Mar 19 11:46:42 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Mar 19 11:46:48 2021 -0700 |
tree | d467e00f59a6a405036524845d59b84ac4be6081 | |
parent | c90fce43876d96e85e9698bec16e3565a07da13d [diff] [blame] |
fastboot driver: add virtual dtor to ImageSource. Test: Treehugger Change-Id: Ia91d6d344186a07d90e3983c153d8170859eed5b
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 38be934..829958a 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp
@@ -1309,6 +1309,7 @@ class ImageSource { public: + virtual ~ImageSource() {}; virtual bool ReadFile(const std::string& name, std::vector<char>* out) const = 0; virtual int OpenFile(const std::string& name) const = 0; };