aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/switchcasenode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2021-02-13 12:37:44 +0100
committerRenaud G <renaud@rolisteam.org>2021-02-13 12:37:44 +0100
commitde55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e (patch)
tree137ae58be5ed6e351221288924ad530adeb3d8f7 /node/switchcasenode.cpp
parent8a54eb609bd278e87b8a3d6a9be42301778df18d (diff)
downloadOneRoll-de55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e.tar.gz
OneRoll-de55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e.zip
Add replace value node.
Move definition of CaseInfo struct. Fix small things from switchcasenode.
Diffstat (limited to 'node/switchcasenode.cpp')
-rw-r--r--node/switchcasenode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/switchcasenode.cpp b/node/switchcasenode.cpp
index 9b15ec0..0928dd2 100644
--- a/node/switchcasenode.cpp
+++ b/node/switchcasenode.cpp
@@ -147,6 +147,6 @@ ExecutionNode* SwitchCaseNode::getCopy() const
void SwitchCaseNode::insertCase(ExecutionNode* node, ValidatorList* validator)
{
- std::unique_ptr<CaseInfo> info(new CaseInfo{validator, node});
+ std::unique_ptr<Dice::CaseInfo> info(new Dice::CaseInfo{validator, node});
m_branchList.push_back(std::move(info));
}