diff options
author | randomdan <randomdan@localhost> | 2014-04-14 14:41:10 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-04-14 14:41:10 +0000 |
commit | 9ce160607a1fa64d7bc691b52c99fd94ac17c7d6 (patch) | |
tree | f0f7a3cc5f5eadb1e062a9286c39d1d54100af34 | |
parent | Add component for build a tree view from a flat row set based on sequential i... (diff) | |
download | project2-9ce160607a1fa64d7bc691b52c99fd94ac17c7d6.tar.bz2 project2-9ce160607a1fa64d7bc691b52c99fd94ac17c7d6.tar.xz project2-9ce160607a1fa64d7bc691b52c99fd94ac17c7d6.zip |
Add missing initializer for depth
-rw-r--r-- | project2/basics/views/autotree.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/project2/basics/views/autotree.cpp b/project2/basics/views/autotree.cpp index d957040..bef9695 100644 --- a/project2/basics/views/autotree.cpp +++ b/project2/basics/views/autotree.cpp @@ -13,7 +13,8 @@ AutoTree::AutoTree(ScriptNodePtr p) : SourceObject(p), View(p), RowProcessor(p), - root(new AutoTreeNode(p->child("tree"), 0, 0)) + root(new AutoTreeNode(p->child("tree"), 0, 0)), + depth(0) { auto node = root; while (node) { |