diff libinterp/parse-tree/pt-exp.cc @ 25383:d3a035528c9a

use reference to tree_evaluator instead of pointer Always use a reference to the evaluator instead of a pointer because it is required to and will always exist everywhere it is used. Files affected: ov-fcn-handle.cc, ov-fcn-handle.h, pt-decl.h, pt-eval.cc, pt-exp.cc, pt-exp.h, pt-id.cc, pt-id.h, pt-idx.cc, pt-idx.h, pt-tm-const.cc, pt-tm-const.h.
author John W. Eaton <jwe@octave.org>
date Tue, 15 May 2018 18:09:04 -0400
parents 6652d3823428
children cb1606f78f6b
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-exp.cc	Tue May 15 17:05:47 2018 -0400
+++ b/libinterp/parse-tree/pt-exp.cc	Tue May 15 18:09:04 2018 -0400
@@ -38,7 +38,7 @@
   // Expressions.
 
   octave_lvalue
-  tree_expression::lvalue (tree_evaluator *)
+  tree_expression::lvalue (tree_evaluator&)
   {
     error ("invalid lvalue function called in expression");
   }