Mercurial > octave
diff libinterp/octave-value/ov.h @ 26916:9cd4b045fe3d
avoid some overloaded virtual warnings (bug #55741)
* ov-base-diag.h, ov-base-mat.h, ov-base-scalar.h, ov-base-sparse.h,
ov-base.h, ov-class.h, ov-classdef.h, ov-cs-list.h, ov-fcn-handle.h,
ov-java.h, ov-lazy-idx.h, ov-perm.h, ov-range.h: Avoid overloaded
virtual method warnings for classes derived from octave_base_value
that partially overload the three virtual subsref methods by adding
using declarations.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 15 Mar 2019 05:45:27 +0000 |
parents | cca0548f7b86 |
children | 072d0610cc56 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.h Thu Mar 14 17:52:30 2019 -0700 +++ b/libinterp/octave-value/ov.h Fri Mar 15 05:45:27 2019 +0000 @@ -409,6 +409,9 @@ octave_idx_type numel (const octave_value_list& idx) { return rep->numel (idx); } + // FIXME: Do we really need all these different versions of subsref + // and related functions? + octave_value single_subsref (const std::string& type, const octave_value_list& idx);