From de55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 13 Feb 2021 12:37:44 +0100 Subject: Add replace value node. Move definition of CaseInfo struct. Fix small things from switchcasenode. --- node/switchcasenode.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'node/switchcasenode.h') diff --git a/node/switchcasenode.h b/node/switchcasenode.h index 719da90..a0f658d 100644 --- a/node/switchcasenode.h +++ b/node/switchcasenode.h @@ -21,15 +21,11 @@ #define SWITCHCASENODE_H #include +#include #include "executionnode.h" #include "validatorlist.h" -struct CaseInfo -{ - ValidatorList* validatorList; - ExecutionNode* node; -}; class StringResult; class SwitchCaseNode : public ExecutionNode { @@ -46,7 +42,7 @@ public: void insertCase(ExecutionNode* node, ValidatorList* validator); private: - std::vector> m_branchList; + std::vector> m_branchList; StringResult* m_stringResult; bool m_stopAtFirst= false; }; -- cgit v1.2.3-70-g09d2