Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2e8cb55 authored by Yifan Hong's avatar Yifan Hong
Browse files

fastboot driver: add virtual dtor to ImageSource.

Test: Treehugger
Change-Id: Ia91d6d344186a07d90e3983c153d8170859eed5b
parent c90fce43
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1309,6 +1309,7 @@ static void CancelSnapshotIfNeeded() {

class ImageSource {
  public:
    virtual ~ImageSource() {};
    virtual bool ReadFile(const std::string& name, std::vector<char>* out) const = 0;
    virtual int OpenFile(const std::string& name) const = 0;
};