Mercurial > hg > octave-nkf
diff src/ov-cell.cc @ 4219:23d06c9e1edd
[project @ 2002-12-06 21:29:17 by jwe]
author | jwe |
---|---|
date | Fri, 06 Dec 2002 21:29:19 +0000 |
parents | 5719210fff4c |
children | 7e4d5b5520e5 |
line wrap: on
line diff
--- a/src/ov-cell.cc +++ b/src/ov-cell.cc @@ -53,7 +53,7 @@ octave_value octave_cell::subsref (const std::string type, - const SLList<octave_value_list>& idx) + const std::list<octave_value_list>& idx) { octave_value retval; @@ -104,7 +104,7 @@ octave_value octave_cell::subsasgn (const std::string type, - const SLList<octave_value_list>& idx, + const std::list<octave_value_list>& idx, const octave_value& rhs) { octave_value retval; @@ -126,9 +126,9 @@ if (! error_state) { - SLList<octave_value_list> next_idx (idx); + std::list<octave_value_list> next_idx (idx); - next_idx.remove_front (); + next_idx.erase (next_idx.begin ()); t_rhs = tmp.subsasgn (type.substr (1), next_idx, rhs); } @@ -148,9 +148,9 @@ { tmp = tcell(0,0); - SLList<octave_value_list> next_idx (idx); + std::list<octave_value_list> next_idx (idx); - next_idx.remove_front (); + next_idx.erase (next_idx.begin ()); t_rhs = tmp.subsasgn (type.substr (1), next_idx, rhs); }