Fixing constructors to match header files

Constructor in cpp file doesn't match header file

Test: m fastboot, fastboot flashall -w
Change-Id: I2c720bb594efca5af1e5a374277543a522ced5ef
This commit is contained in:
Daniel Zheng 2023-05-23 10:51:01 -07:00
parent 90bbf8253f
commit 5a9905a62b
2 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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: