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

Commit 8d486d1d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "fastboot driver: add virtual dtor to ImageSource." am: 4f898d4e am:...

Merge "fastboot driver: add virtual dtor to ImageSource." am: 4f898d4e am: a40d51ad am: 01165862

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1645934

Change-Id: Id123c9a11543daee447f6407157490d239d5526b
parents 752c3c7f 01165862
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;
};