Merge "fastboot driver: add virtual dtor to ImageSource."
This commit is contained in:
commit
4f898d4e33
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue