Mercurial > octave
diff liboctave/array/Range.h @ 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 | e26201931ea3 |
children | 3ef055ca1d5e |
line wrap: on
line diff
--- a/liboctave/array/Range.h Mon Oct 05 13:57:00 2020 -0400 +++ b/liboctave/array/Range.h Mon Oct 05 15:19:15 2020 -0400 @@ -202,7 +202,7 @@ T checkelem (octave_idx_type i) const { if (i < 0 || i >= m_numel) - octave::err_index_out_of_range (2, 2, i+1, m_numel, dims ()); + err_index_out_of_range (2, 2, i+1, m_numel, dims ()); if (i == 0) return m_base; @@ -216,7 +216,7 @@ { // Ranges are *always* row vectors. if (i != 0) - octave::err_index_out_of_range (1, 1, i+1, m_numel, dims ()); + err_index_out_of_range (1, 1, i+1, m_numel, dims ()); return checkelem (j); } @@ -259,7 +259,7 @@ else { if (i.extent (n) != n) - octave::err_index_out_of_range (1, 1, i.extent (n), n, dims ()); + err_index_out_of_range (1, 1, i.extent (n), n, dims ()); dim_vector rd = i.orig_dimensions (); octave_idx_type il = i.length (n);