Mercurial > hg > octave-nkf
diff src/ov-struct.h @ 9529:8e5009334661
partially revert e79470be3ecb
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 17 Aug 2009 13:09:12 +0200 |
parents | e79470be3ecb |
children | b3089dba88bf |
line wrap: on
line diff
--- a/src/ov-struct.h +++ b/src/ov-struct.h @@ -63,13 +63,7 @@ octave_base_value *clone (void) const { return new octave_struct (*this); } octave_base_value *empty_clone (void) const { return new octave_struct (); } - virtual Cell dotref (const octave_value_list& idx) - { return dotref (idx, false); } - - Cell dotref (const octave_value_list& idx, bool auto_add); - - virtual octave_value dotasgn (const octave_value_list& idx, - const octave_value& rhs); + Cell dotref (const octave_value_list& idx, bool auto_add = false); octave_value subsref (const std::string& type, const std::list<octave_value_list>& idx) @@ -155,8 +149,6 @@ protected: - virtual void gripe_failed_assignment (void); - // The associative array used to manage the structure data. Octave_map map;