summaryrefslogtreecommitdiff
path: root/src/Tree.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-11 07:10:31 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-11 07:10:31 (GMT)
commit18e97e0bd3f6bda4fdcd17de2a85173ba59b6b00 (patch)
tree327ec7c648e0f01a2673672ebe83c3524c971e19 /src/Tree.h
parent9afeded46c0e9023002dc04ba6131adcb39762b1 (diff)
Fixed bug introduced by the new PolySet cache; string filtering done in the wrong place, refactored cache into separate class
Diffstat (limited to 'src/Tree.h')
-rw-r--r--src/Tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tree.h b/src/Tree.h
index 5fda0c3..5df5bba 100644
--- a/src/Tree.h
+++ b/src/Tree.h
@@ -20,7 +20,7 @@ public:
void setRoot(const AbstractNode *root);
const AbstractNode *root() const { return this->root_node; }
- const string getString(const AbstractNode &node) const;
+ const string &getString(const AbstractNode &node) const;
private:
const AbstractNode *root_node;
contact: Jan Huwald // Impressum