aboutsummaryrefslogtreecommitdiff
path: root/src/doctree.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/doctree.hh')
-rw-r--r--src/doctree.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/doctree.hh b/src/doctree.hh
index 7d35135a..6f94a523 100644
--- a/src/doctree.hh
+++ b/src/doctree.hh
@@ -2,10 +2,8 @@
#define __DOCTREE_HH__
class DoctreeNode {
- private:
- int index;
-
public:
+ int depth;
int tagIndex;
const char *klass;
const char *id;
@@ -13,7 +11,7 @@ class DoctreeNode {
class Doctree {
public:
- virtual ~Doctree () = 0;
+ virtual ~Doctree () {};
virtual const DoctreeNode *top () = 0;
virtual const DoctreeNode *parent (const DoctreeNode *node) = 0;
};