diff libinterp/octave-value/ov-base.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-base.h	Thu Mar 14 17:52:30 2019 -0700
+++ b/libinterp/octave-value/ov-base.h	Fri Mar 15 05:45:27 2019 +0000
@@ -280,6 +280,8 @@
 
   virtual octave_idx_type numel (const octave_value_list&);
 
+  // FIXME: Do we really need all three of these versions of subsref?
+
   virtual octave_value
   subsref (const std::string& type,
            const std::list<octave_value_list>& idx);