From 653ba9395a36cc20ec1d68c9a9cae78973fa334c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 30 Jan 2020 01:27:15 +0100 Subject: add unicity and repeat function part2 --- node/repeaternode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/repeaternode.h') diff --git a/node/repeaternode.h b/node/repeaternode.h index 847db17..fa1a50a 100644 --- a/node/repeaternode.h +++ b/node/repeaternode.h @@ -35,12 +35,12 @@ public: virtual ExecutionNode* getCopy() const override; - void setCommand(ExecutionNode* node); + void setCommand(const std::vector& node); void setTimeNode(ExecutionNode* times); void setSumAll(bool b); private: - std::unique_ptr m_cmd; + std::vector m_cmd; ExecutionNode* m_times= nullptr; bool m_sumAll= false; }; -- cgit v1.2.3-70-g09d2