Mercurial > octave
changeset 23496:427c55a82f35
* idx-vector.h (checkelem): Don't deprecate (yet).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 15 May 2017 18:05:44 -0400 |
parents | 8308417aff1c |
children | f45402b9dcc4 |
files | liboctave/array/idx-vector.h |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/array/idx-vector.h Mon May 15 16:17:58 2017 -0400 +++ b/liboctave/array/idx-vector.h Mon May 15 18:05:44 2017 -0400 @@ -87,7 +87,6 @@ virtual octave_idx_type xelem (octave_idx_type i) const = 0; // Range-checking element query. - OCTAVE_DEPRECATED ("use 'elem' instead") virtual octave_idx_type checkelem (octave_idx_type i) const = 0; // Length of the index vector. @@ -137,7 +136,6 @@ octave_idx_type xelem (octave_idx_type i) const { return i; } - OCTAVE_DEPRECATED ("use 'elem' instead") octave_idx_type checkelem (octave_idx_type i) const; octave_idx_type length (octave_idx_type n) const { return n; } @@ -185,7 +183,6 @@ octave_idx_type xelem (octave_idx_type i) const { return start + i * step; } - OCTAVE_DEPRECATED ("use 'elem' instead") octave_idx_type checkelem (octave_idx_type i) const; octave_idx_type length (octave_idx_type) const { return len; } @@ -247,7 +244,6 @@ octave_idx_type xelem (octave_idx_type) const { return data; } - OCTAVE_DEPRECATED ("use 'elem' instead") octave_idx_type checkelem (octave_idx_type i) const; octave_idx_type length (octave_idx_type) const { return 1; } @@ -321,7 +317,6 @@ octave_idx_type xelem (octave_idx_type i) const { return data[i]; } - OCTAVE_DEPRECATED ("use 'elem' instead") octave_idx_type checkelem (octave_idx_type i) const; octave_idx_type length (octave_idx_type) const { return len; } @@ -391,7 +386,6 @@ octave_idx_type xelem (octave_idx_type i) const; - OCTAVE_DEPRECATED ("use 'elem' instead") octave_idx_type checkelem (octave_idx_type i) const; octave_idx_type length (octave_idx_type) const { return len; } @@ -569,7 +563,6 @@ octave_idx_type xelem (octave_idx_type n) const { return rep->xelem (n); } - OCTAVE_DEPRECATED ("use 'elem' instead") octave_idx_type checkelem (octave_idx_type n) const { return rep->xelem (n); }