Compare commits

...

1 Commits

Author SHA1 Message Date
9a8d775eb1 optimization for cmd executor 2023-03-12 20:49:34 +01:00

View File

@@ -17,7 +17,7 @@ ReturnValue_t CommandExecutor::load(std::string command, bool blocking, bool pri
return COMMAND_PENDING;
}
currentCmd = command;
currentCmd = std::move(command);
this->blocking = blocking;
this->printOutput = printOutput;
if (state == States::IDLE) {