diff libinterp/parse-tree/pt.h @ 21333:c4690d9ff566

avoid warnings about overloading virtual functions from a base class * pt-id.h (tree_black_hole::dup): Fix decl. * pt.h (tree::set_breakpoint): Fix decl. * audiodevinfo.cc (audioplayer::print, audiorecorder::print): Fix decl. * gl2ps-print.cc, ov-base-mat.h, ov-base-sparse.h, pt-array-list.h: Import virtual functions from base class that are overloaded in the derived class.
author John W. Eaton <jwe@octave.org>
date Wed, 24 Feb 2016 11:08:45 -0500
parents 1473547f50f5
children bac0d6f07a3e
line wrap: on
line diff
--- a/libinterp/parse-tree/pt.h	Wed Feb 24 09:52:27 2016 -0500
+++ b/libinterp/parse-tree/pt.h	Wed Feb 24 11:08:45 2016 -0500
@@ -60,7 +60,7 @@
     column_num = c;
   }
 
-  virtual void set_breakpoint (std::string condition)
+  virtual void set_breakpoint (const std::string& condition)
     { if (bp)
         *bp = condition;
       else