aboutsummaryrefslogtreecommitdiff
path: root/include/Support/Tree.h
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-06-11 14:01:36 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-06-11 14:01:36 +0000
commitbe583b914d8156b99d3da264d5adca37fee8dbc9 (patch)
treeda884b147eb2f4dbcaf253225e26f82899ec3553 /include/Support/Tree.h
parentaff713cca56dced4a1423f6cbab666ea30e93c23 (diff)
Included assert.h so that the code compiles under newer versions of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support/Tree.h')
-rw-r--r--include/Support/Tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Support/Tree.h b/include/Support/Tree.h
index 9e8d5ae7ef..544e57e526 100644
--- a/include/Support/Tree.h
+++ b/include/Support/Tree.h
@@ -10,6 +10,8 @@
#include <vector>
+#include <assert.h>
+
template<class ConcreteTreeNode, class Payload>
class Tree {
std::vector<ConcreteTreeNode*> Children; // This nodes children, if any