comparison 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
comparison
equal deleted inserted replaced
21332:db574711df78 21333:c4690d9ff566
58 { 58 {
59 line_num = l; 59 line_num = l;
60 column_num = c; 60 column_num = c;
61 } 61 }
62 62
63 virtual void set_breakpoint (std::string condition) 63 virtual void set_breakpoint (const std::string& condition)
64 { if (bp) 64 { if (bp)
65 *bp = condition; 65 *bp = condition;
66 else 66 else
67 bp = new std::string(condition); 67 bp = new std::string(condition);
68 } 68 }