Mercurial > octave
diff libinterp/corefcn/oct-stream.cc @ 28857:43ad651cf5a0
eliminate unnecessary uses of octave:: namespace qualifier
Affected files: graphics-init.cc, octave-qscintilla.cc,
octave-qobject.h, qt-application.h, workspace-view.cc, call-stack.cc,
dynamic-ld.cc, error.cc, error.h, event-manager.h, fcn-info.cc,
ft-text-renderer.cc, gl-render.cc, gl2ps-print.cc,
graphics-toolkit.cc, input.cc, load-path.cc, oct-hist.cc,
oct-stream.cc, pager.cc, stack-frame.cc, symscope.cc, sysdep.cc,
__ode15__.cc, cdef-class.cc, ov-fcn-handle.cc, ov.cc, ov.h,
oct-parse.yy, pt-classdef.h, pt-eval.cc, Range.cc, Range.h, dir-ops.h,
file-stat.cc, lo-sysdep.cc, lo-utils.cc, oct-glob.cc, and
url-transfer.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 05 Oct 2020 15:19:15 -0400 |
parents | 70cdf8de553d |
children | 665c9ed14c97 |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.cc Mon Oct 05 13:57:00 2020 -0400 +++ b/libinterp/corefcn/oct-stream.cc Mon Oct 05 15:19:15 2020 -0400 @@ -97,8 +97,7 @@ } catch (const execution_exception&) { - octave::interpreter& interp - = __get_interpreter__ ("convert_to_valid_int"); + interpreter& interp = __get_interpreter__ ("convert_to_valid_int"); interp.recover_from_exception (); @@ -2958,7 +2957,7 @@ { char *pos = is.tellg (); std::ios::iostate state = is.rdstate (); - //re = octave::read_value<double> (is); + //re = read_value<double> (is); re = read_double (is, fmt); // check for "treat as empty" string @@ -3023,7 +3022,7 @@ pos = is.tellg (); state = is.rdstate (); - //im = octave::read_value<double> (is); + //im = read_value<double> (is); im = read_double (is, fmt); if (is.fail ()) im = 1; @@ -4368,7 +4367,7 @@ { is.putback (c1); - ref = octave::read_value<double> (is); + ref = read_value<double> (is); } } break;