Mercurial > octave-nkf
diff src/oct-strstrm.cc @ 3544:71bd2d124119
[project @ 2000-02-02 21:02:31 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 21:02:41 +0000 |
parents | b80bbb43a1a9 |
children | 6dfdded73a7e |
line wrap: on
line diff
--- a/src/oct-strstrm.cc Wed Feb 02 20:13:49 2000 +0000 +++ b/src/oct-strstrm.cc Wed Feb 02 21:02:41 2000 +0000 @@ -29,7 +29,7 @@ // Position a stream at OFFSET relative to ORIGIN. int -octave_base_strstream::seek (streamoff offset, ios::seek_dir origin) +octave_base_strstream::seek (streamoff offset, std::ios::seek_dir origin) { int retval = -1; @@ -64,7 +64,7 @@ if (sb) { - retval = static_cast<long> (sb->seekoff (0, ios::cur)); + retval = static_cast<long> (sb->seekoff (0, std::ios::cur)); if (bad ()) retval = -1; @@ -75,21 +75,21 @@ } octave_stream -octave_istrstream::create (const char *data, ios::openmode arg_md, +octave_istrstream::create (const char *data, std::ios::openmode arg_md, oct_mach_info::float_format flt_fmt) { return octave_stream (new octave_istrstream (data, arg_md, flt_fmt)); } octave_stream -octave_istrstream::create (const std::string& data, ios::openmode arg_md, +octave_istrstream::create (const std::string& data, std::ios::openmode arg_md, oct_mach_info::float_format flt_fmt) { return octave_stream (new octave_istrstream (data, arg_md, flt_fmt)); } octave_stream -octave_ostrstream::create (ios::openmode arg_md, +octave_ostrstream::create (std::ios::openmode arg_md, oct_mach_info::float_format flt_fmt) { return octave_stream (new octave_ostrstream (arg_md, flt_fmt));