summaryrefslogtreecommitdiff
path: root/src/Tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tree.h')
-rw-r--r--src/Tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Tree.h b/src/Tree.h
index 2c3f0b8..aaa61d7 100644
--- a/src/Tree.h
+++ b/src/Tree.h
@@ -20,12 +20,13 @@ public:
void setRoot(const AbstractNode *root);
const AbstractNode *root() const { return this->root_node; }
- // FIXME: Really return a reference?
const string &getString(const AbstractNode &node) const;
+ const string &getIdString(const AbstractNode &node) const;
private:
const AbstractNode *root_node;
mutable NodeCache nodecache;
+ mutable NodeCache nodeidcache;
};
#endif
contact: Jan Huwald // Impressum