diff options
| author | 2024-12-28 15:00:29 +0100 | |
|---|---|---|
| committer | 2024-12-29 14:46:30 +0100 | |
| commit | 5c508b351a95f416e4a599f76902b888369de1b4 (patch) | |
| tree | e3f6363fd7458fb0a46eabde6bd3a65b4746d798 /src/libparser/node/mergenode.h | |
| parent | 5515cd5a22ab97843f6ca1c234333ec110a9bab1 (diff) | |
| download | OneRoll-5c508b351a95f416e4a599f76902b888369de1b4.tar.gz OneRoll-5c508b351a95f416e4a599f76902b888369de1b4.zip | |
Several fix from fuzzer test.
Diffstat (limited to 'src/libparser/node/mergenode.h')
| -rw-r--r-- | src/libparser/node/mergenode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libparser/node/mergenode.h b/src/libparser/node/mergenode.h index 515a2e9..1b32352 100644 --- a/src/libparser/node/mergenode.h +++ b/src/libparser/node/mergenode.h @@ -31,20 +31,18 @@ class MergeNode : public ExecutionNode { public: - MergeNode(); + MergeNode(std::vector<ExecutionNode*>& startList); void run(ExecutionNode* previous); virtual QString toString(bool withLabel) const; virtual qint64 getPriority() const; virtual ExecutionNode* getCopy() const; - std::vector<ExecutionNode*>* getStartList() const; - void setStartList(std::vector<ExecutionNode*>* startList); private: ExecutionNode* getLatestNode(ExecutionNode* node); private: + std::vector<ExecutionNode*>& m_startList; DiceResult* m_diceResult= nullptr; - std::vector<ExecutionNode*>* m_startList= nullptr; }; #endif // NUMBERNODE_H |