client/Process: reset the CommandListBuilder before processing it
Allows removing a CommandResult::CLOSE check.
This commit is contained in:
@@ -97,7 +97,7 @@ public:
|
||||
/**
|
||||
* Finishes the list and returns it.
|
||||
*/
|
||||
std::list<std::string> &&Commit() {
|
||||
std::list<std::string> Commit() {
|
||||
assert(IsActive());
|
||||
|
||||
return std::move(list);
|
||||
|
Reference in New Issue
Block a user