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

Commit 4f898d4e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 5d5e16db d2e8cb55
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
};