Mercurial > jwe > octave
diff libinterp/octave-value/ov-cell.cc @ 23588:0549061d35b9
maint: Deprecate is_sorted and replace with issorted.
* ov.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* ov.h (issorted): New function.
* Array.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* Array.h (issorted): New function.
* Range.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* Range.h (issorted): New function.
* oct-sort.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* oct-sort.h (issorted): New function.
* data.cc, __ode15__.cc, ov-base-diag.h, ov-base-mat.h, ov-base-scalar.h,
ov-base-sparse.h, ov-base.cc, ov-base.h, ov-cell.cc, ov-cell.h, ov-lazy-idx.cc,
ov-lazy-idx.h, ov-perm.h, ov-range.h, ov-re-mat.cc, ov-re-mat.h, Array-d.cc,
Array-f.cc, Array.cc, Range.cc, oct-sort.cc:
Replace instances of is_sorted with issorted.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 12:43:42 -0700 |
parents | 80c42f4cca13 |
children | 63950abd2f81 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.cc Tue Jun 13 11:25:31 2017 -0700 +++ b/libinterp/octave-value/ov-cell.cc Tue Jun 13 12:43:42 2017 -0700 @@ -489,7 +489,7 @@ } sortmode -octave_cell::is_sorted (sortmode mode) const +octave_cell::issorted (sortmode mode) const { sortmode retval = UNSORTED; @@ -498,7 +498,7 @@ Array<std::string> tmp = cellstr_value (); - retval = tmp.is_sorted (mode); + retval = tmp.issorted (mode); return retval; }