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* out) const = 0; virtual unique_fd OpenFile(const std::string& name) const = 0; };