aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/repeaternode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-01-30 01:27:15 +0100
committerRenaud G <renaud@rolisteam.org>2020-03-28 02:05:05 +0100
commit653ba9395a36cc20ec1d68c9a9cae78973fa334c (patch)
tree72753ed3bdca117baf001cdf8251b1fb22276eeb /node/repeaternode.h
parent22d71d0032e2f44a8f267895aea3bd87864791b3 (diff)
downloadOneRoll-653ba9395a36cc20ec1d68c9a9cae78973fa334c.tar.gz
OneRoll-653ba9395a36cc20ec1d68c9a9cae78973fa334c.zip
add unicity and repeat function part2
Diffstat (limited to 'node/repeaternode.h')
-rw-r--r--node/repeaternode.h4
1 files changed, 2 insertions, 2 deletions
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<ExecutionNode*>& node);
void setTimeNode(ExecutionNode* times);
void setSumAll(bool b);
private:
- std::unique_ptr<ExecutionNode> m_cmd;
+ std::vector<ExecutionNode*> m_cmd;
ExecutionNode* m_times= nullptr;
bool m_sumAll= false;
};