summaryrefslogtreecommitdiff
path: root/src/expr
diff options
context:
space:
mode:
authorTim King <taking@google.com>2015-12-24 15:00:35 -0500
committerTim King <taking@google.com>2015-12-24 15:00:35 -0500
commite9a8aee3aa826700b3985514609afcfa343a05c3 (patch)
tree05f9e7a1d747eefb10e2fa757d8579a584b5c274 /src/expr
parenta39ad6584c1d61e22e72b53c3838f4f675ed2e19 (diff)
Adding a missing return on the new ArrayStoreAll::operator= .
Diffstat (limited to 'src/expr')
-rw-r--r--src/expr/array_store_all.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expr/array_store_all.cpp b/src/expr/array_store_all.cpp
index d9d0a5f8d..6ac07c81d 100644
--- a/src/expr/array_store_all.cpp
+++ b/src/expr/array_store_all.cpp
@@ -40,6 +40,7 @@ ArrayStoreAll::~ArrayStoreAll() throw() {
ArrayStoreAll& ArrayStoreAll::operator=(const ArrayStoreAll& other){
(*d_type) = other.getType();
(*d_expr) = other.getExpr();
+ return *this;
}
ArrayStoreAll::ArrayStoreAll(const ArrayType& type, const Expr& expr)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback