summaryrefslogtreecommitdiff
path: root/impl/Expression.hpp
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-09 14:22:07 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-09 14:22:07 +1000
commit8040a5fd511912cb2141e46e5ca9eb1ab766133e (patch)
tree4a0de1a1e9c65f08060eb5b25a0326faf433976a /impl/Expression.hpp
parent049a16d1b1a683487a0c17014e9f7c477820a132 (diff)
Fix a few bugs and add a new example system.
Diffstat (limited to 'impl/Expression.hpp')
-rw-r--r--impl/Expression.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/impl/Expression.hpp b/impl/Expression.hpp
index 857064f..508d7ad 100644
--- a/impl/Expression.hpp
+++ b/impl/Expression.hpp
@@ -93,7 +93,7 @@ struct OperatorExpression : public Expression<Domain> {
return _operator.eval(argumentValues);
}
- const std::vector<Expression<Domain>*> arguments() const {
+ const std::vector<Expression<Domain>*>& arguments() const {
return _arguments;
}