Mercurial > octave-nkf
changeset 18397:642fc1165f3f
Remove use of deprecate symbol_table::varref
* ov-classdef.h (to_cdef_ref): Change argument to const-ref.
* ov-classdef.cc (octave_classdef_superclass_ref::do_multi_index_op):
Use symbol_table::varval instead of varref.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 25 Jan 2014 22:56:09 -0500 |
parents | 954bf42180d3 |
children | 7cefc77f0be2 |
files | libinterp/octave-value/ov-classdef.cc libinterp/octave-value/ov-classdef.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-classdef.cc Sat Jan 25 22:03:57 2014 -0500 +++ b/libinterp/octave-value/ov-classdef.cc Sat Jan 25 22:56:09 2014 -0500 @@ -1148,7 +1148,7 @@ { if (is_constructed_object (mname)) { - octave_value& sym = symbol_table::varref (mname); + octave_value sym = symbol_table::varval (mname); cls.run_constructor (to_cdef_ref (sym), idx);