aboutsummaryrefslogtreecommitdiff
path: root/include/Support/Tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/Tree.h')
-rw-r--r--include/Support/Tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Support/Tree.h b/include/Support/Tree.h
index bc5495f25a..48ecf5b06d 100644
--- a/include/Support/Tree.h
+++ b/include/Support/Tree.h
@@ -36,7 +36,7 @@ public:
inline Tree(const std::vector<ConcreteTreeNode*> &children,
ConcreteTreeNode *par, const Payload &data)
- : Children(children), Parent(parent), Data(data) {}
+ : Children(children), Parent(par), Data(data) {}
// Tree dtor - Free all children
inline ~Tree() {