diff --git a/src/fsfw/power/DummyPowerSwitcher.cpp b/src/fsfw/power/DummyPowerSwitcher.cpp index 952a5a57..ccc2e9dd 100644 --- a/src/fsfw/power/DummyPowerSwitcher.cpp +++ b/src/fsfw/power/DummyPowerSwitcher.cpp @@ -1,5 +1,7 @@ #include "DummyPowerSwitcher.h" +#include + DummyPowerSwitcher::DummyPowerSwitcher(object_id_t objectId, size_t numberOfSwitches, size_t numberOfFuses, bool registerGlobally, uint32_t switchDelayMs) @@ -9,11 +11,11 @@ DummyPowerSwitcher::DummyPowerSwitcher(object_id_t objectId, size_t numberOfSwit switchDelayMs(switchDelayMs) {} void DummyPowerSwitcher::setInitialSwitcherList(std::vector switcherList) { - this->switcherList = switcherList; + this->switcherList = std::move(switcherList); } void DummyPowerSwitcher::setInitialFusesList(std::vector fuseList) { - this->fuseList = fuseList; + this->fuseList = std::move(fuseList); } ReturnValue_t DummyPowerSwitcher::sendSwitchCommand(power::Switch_t switchNr, ReturnValue_t onOff) {