From: Chris Lattner Date: Sat, 29 Nov 2003 19:55:02 +0000 (+0000) Subject: Hrm, how could this compile? X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d2aa7b8ee7fb751c42a6f89096043e1ac24c49f2;p=oota-llvm.git Hrm, how could this compile? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10263 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/Tree.h b/include/Support/Tree.h index bc5495f25a3..48ecf5b06dc 100644 --- a/include/Support/Tree.h +++ b/include/Support/Tree.h @@ -36,7 +36,7 @@ public: inline Tree(const std::vector &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() { diff --git a/include/llvm/ADT/Tree.h b/include/llvm/ADT/Tree.h index bc5495f25a3..48ecf5b06dc 100644 --- a/include/llvm/ADT/Tree.h +++ b/include/llvm/ADT/Tree.h @@ -36,7 +36,7 @@ public: inline Tree(const std::vector &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() {