Merge "Fixing constructors to match header files"

This commit is contained in:
Daniel Zheng 2023-05-24 00:06:09 +00:00 committed by Gerrit Code Review
commit 5efd90644b
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: