Mercurial > hg > octave-lyh
diff src/ov-list.cc @ 3523:b80bbb43a1a9
[project @ 2000-02-02 10:25:52 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 10:26:25 +0000 |
parents | d14c483b3c12 |
children | 0ff7323dab8b |
line wrap: on
line diff
--- a/src/ov-list.cc +++ b/src/ov-list.cc @@ -83,13 +83,13 @@ } void -octave_list::print (ostream& os, bool) const +octave_list::print (std::ostream& os, bool) const { print_raw (os); } void -octave_list::print_raw (ostream& os, bool) const +octave_list::print_raw (std::ostream& os, bool) const { unwind_protect::begin_frame ("octave_list_print"); @@ -105,7 +105,7 @@ for (int i = 0; i < n; i++) { - ostrstream buf; + std::ostrstream buf; buf << "[" << i+1 << "]" << ends; const char *nm = buf.str (); @@ -130,7 +130,7 @@ } bool -octave_list::print_name_tag (ostream& os, const string& name) const +octave_list::print_name_tag (std::ostream& os, const std::string& name) const { indent (os); if (lst.length () == 0)