Mercurial > octave
diff libinterp/parse-tree/pt-idx.cc @ 27374:d171d356767b
don't apply std::move to temporary values
Files affected: pt-binop.cc, pt-cbinop.cc, pt-colon.cc, pt-eval.cc,
pt-idx.cc, and pt-unop.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Sep 2019 15:34:51 -0400 |
parents | 25627c524ad8 |
children | b442ec6dda5c |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-idx.cc Wed Sep 04 12:17:50 2019 -0400 +++ b/libinterp/parse-tree/pt-idx.cc Wed Sep 04 15:34:51 2019 -0400 @@ -554,7 +554,7 @@ } if (base_expr_val.is_undefined ()) - base_expr_val = std::move (m_expr->evaluate (tw)); + base_expr_val = m_expr->evaluate (tw); // If we are indexing an object or looking at something like //