summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.h b/src/node.h
index 3abbdf0..a8072da 100644
--- a/src/node.h
+++ b/src/node.h
@@ -37,7 +37,7 @@ public:
virtual std::string name() const;
// FIXME: Make return value a reference
- const std::vector<AbstractNode*> getChildren() const {
+ const std::vector<AbstractNode*> &getChildren() const {
return this->children;
}
size_t index() const { return this->idx; }
contact: Jan Huwald // Impressum