summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-03-24 00:10:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-24 00:10:31 +0000
commit4f898d4e332067e11f47056410284accc63f57a7 (patch)
treec96855839dc181b2226caded4825c9613dbda452 /fastboot/fastboot.cpp
parent5d5e16db570f1da4b4115317c9aed32e632007c1 (diff)
parentd2e8cb55565fbf32e37ada5d98f002792525c597 (diff)
Merge "fastboot driver: add virtual dtor to ImageSource."
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 783cd1974..f720ddaa4 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -1391,6 +1391,7 @@ static void CancelSnapshotIfNeeded() {
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;
};