commit | 4f898d4e332067e11f47056410284accc63f57a7 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Mar 24 00:10:31 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Mar 24 00:10:31 2021 +0000 |
tree | c96855839dc181b2226caded4825c9613dbda452 | |
parent | 5d5e16db570f1da4b4115317c9aed32e632007c1 [diff] | |
parent | d2e8cb55565fbf32e37ada5d98f002792525c597 [diff] |
Merge "fastboot driver: add virtual dtor to ImageSource."
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 783cd19..f720dda 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp
@@ -1391,6 +1391,7 @@ class ImageSource { public: + virtual ~ImageSource() {}; virtual bool ReadFile(const std::string& name, std::vector<char>* out) const = 0; virtual unique_fd OpenFile(const std::string& name) const = 0; };