diff --git a/src/ast/expression/BlockExpression.cpp b/src/ast/expression/BlockExpression.cpp index 399b4b1..4ebd4a8 100644 --- a/src/ast/expression/BlockExpression.cpp +++ b/src/ast/expression/BlockExpression.cpp @@ -30,7 +30,7 @@ DynamicObject BlockExpression::visit(SymbolTable& symbols) { } catch(const TerminativeReturnSignal& rs) { table.waitForThreads(); - return std::move(rs.getObject()); + return rs.getObject(); } table.waitForThreads();