summaryrefslogtreecommitdiff
path: root/src/Tree.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-11 05:33:18 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-11 05:33:18 (GMT)
commitc0641d6916775309d64944ca121cc736f0c8d7a1 (patch)
tree801e0b5d67d13ff4773c5906c9cb68d271a2be02 /src/Tree.h
parent09cc0496f7ce61e2bcbce80e067e0fac8054599a (diff)
Reenabled PolySet caching. Pass shared_ptrs to polysets around to better manage memory
Diffstat (limited to 'src/Tree.h')
-rw-r--r--src/Tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Tree.h b/src/Tree.h
index 2c3f0b8..5fda0c3 100644
--- a/src/Tree.h
+++ b/src/Tree.h
@@ -20,8 +20,7 @@ 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 getString(const AbstractNode &node) const;
private:
const AbstractNode *root_node;
contact: Jan Huwald // Impressum