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

Commit 01165862 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: a40d51ad

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

Change-Id: Ide7ccfbedf41db217db333517ffdb883aeb63efd
parents 68301b2d a40d51ad
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;
};