Merge "fastboot driver: add virtual dtor to ImageSource."

This commit is contained in:
Treehugger Robot 2021-03-24 00:10:31 +00:00 committed by Gerrit Code Review
commit 4f898d4e33

View file

@ -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;
};