diff libinterp/parse-tree/pt-exp.h @ 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 f23f27e78aa2 00f796120a6d
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-exp.h	Tue May 15 17:05:47 2018 -0400
+++ b/libinterp/parse-tree/pt-exp.h	Tue May 15 18:09:04 2018 -0400
@@ -84,7 +84,7 @@
 
     virtual bool rvalue_ok (void) const { return false; }
 
-    virtual octave_lvalue lvalue (tree_evaluator *);
+    virtual octave_lvalue lvalue (tree_evaluator&);
 
     int paren_count (void) const { return num_parens; }