aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/switchcasenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'node/switchcasenode.h')
-rw-r--r--node/switchcasenode.h8
1 files changed, 2 insertions, 6 deletions
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 <memory>
+#include <vector>
#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<std::unique_ptr<CaseInfo>> m_branchList;
+ std::vector<std::unique_ptr<Dice::CaseInfo>> m_branchList;
StringResult* m_stringResult;
bool m_stopAtFirst= false;
};