Mercurial > hg > octave-lyh
diff src/ov-struct.cc @ 2979:a3556d2adec9
[project @ 1997-05-15 22:35:37 by jwe]
author | jwe |
---|---|
date | Thu, 15 May 1997 22:36:40 +0000 |
parents | 5e0fe4c5d52f |
children | aa9d0c0e0458 |
line wrap: on
line diff
--- a/src/ov-struct.cc +++ b/src/ov-struct.cc @@ -31,7 +31,7 @@ #include <iostream.h> #include "error.h" -#include "oct-var-ref.h" +#include "oct-lvalue.h" #include "ov-struct.h" #include "unwind-prot.h" #include "variables.h" @@ -68,10 +68,10 @@ return retval; } -octave_variable_reference +octave_lvalue octave_struct::struct_elt_ref (octave_value *, const string& nm) { - return octave_variable_reference (&map [nm]); + return octave_lvalue (&map [nm]); } void