Mercurial > hg > octave-nkf
diff src/ls-hdf5.cc @ 4675:f6d6335c08f6
[project @ 2003-12-16 05:11:26 by jwe]
author | jwe |
---|---|
date | Tue, 16 Dec 2003 05:11:27 +0000 |
parents | bf7272f8ba8c |
children | e95c86d48732 |
line wrap: on
line diff
--- a/src/ls-hdf5.cc +++ b/src/ls-hdf5.cc @@ -715,9 +715,9 @@ octave_value ov = dsub.tc; if (ov.is_list ()) - m [dsub.name] = ov.list_value (); + m.assign (dsub.name, octave_value (ov.list_value ())); else - m [dsub.name] = ov; + m.assign (dsub.name, ov); } if (have_h5giterate_bug) @@ -1165,8 +1165,8 @@ data_is_group = 1; // recursively add each element of the structure to this group - Octave_map m = tc.map_value (); - Octave_map::iterator i = m.begin (); + const Octave_map m = tc.map_value (); + Octave_map::const_iterator i = m.begin (); while (i != m.end ()) { // XXX FIXME XXX -- if the length of the structure array is