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

Commit 5efd9064 authored by Daniel Zheng's avatar Daniel Zheng Committed by Gerrit Code Review
Browse files

Merge "Fixing constructors to match header files"

parents 89a4db46 5a9905a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@
#include "util.h"

using namespace std::string_literals;
FlashTask::FlashTask(const std::string& _slot, const std::string& _pname, const std::string& _fname,
FlashTask::FlashTask(const std::string& slot, const std::string& pname, const std::string& fname,
                     const bool apply_vbmeta)
    : pname_(_pname), fname_(_fname), slot_(_slot), apply_vbmeta_(apply_vbmeta) {}
    : pname_(pname), fname_(fname), slot_(slot), apply_vbmeta_(apply_vbmeta) {}

void FlashTask::Run() {
    auto flash = [&](const std::string& partition) {
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ class ResizeTask : public Task {

class DeleteTask : public Task {
  public:
    DeleteTask(const FlashingPlan* _fp, const std::string& _pname);
    DeleteTask(const FlashingPlan* fp, const std::string& pname);
    void Run() override;

  private: