diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-11 05:33:18 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-11 05:33:18 (GMT) |
commit | c0641d6916775309d64944ca121cc736f0c8d7a1 (patch) | |
tree | 801e0b5d67d13ff4773c5906c9cb68d271a2be02 /src/Tree.h | |
parent | 09cc0496f7ce61e2bcbce80e067e0fac8054599a (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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |