Mercurial > octave
diff libinterp/octave-value/ov-classdef.cc @ 26922:072d0610cc56
avoid some overloaded virtual warnings (bug #55741)
* ov.h (octave_value::xnumel (const octave_value_list&)):
Rename from numel. Change all uses.
* ov-base.h, ov-base.cc, ov-class.h, ov-class.cc, ov-classdef.h,
ov-classdef.cc: Rename "numel (const octave_value_list&) method to
xnumel. Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 15 Mar 2019 07:16:27 +0000 |
parents | 8cad08868ffd |
children | fbb318c371db |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-classdef.cc Fri Mar 15 06:56:26 2019 +0000 +++ b/libinterp/octave-value/ov-classdef.cc Fri Mar 15 07:16:27 2019 +0000 @@ -203,7 +203,7 @@ } octave_idx_type -octave_classdef::numel (const octave_value_list& idx) +octave_classdef::xnumel (const octave_value_list& idx) { octave_idx_type retval = -1; @@ -233,7 +233,7 @@ } } - retval = octave_base_value::numel (idx); + retval = octave_base_value::xnumel (idx); return retval; }