Mercurial > octave
diff libinterp/corefcn/graphics.in.h @ 22868:87e3163f6c87
use c++11 "= default" syntax for declaration of trivial destructors
* make_int.cc, Canvas.h, GenericEventNotify.h, TextEdit.h, gl-select.h, QTerminal.h, files-dock-widget.h, history-dock-widget.h, octave-cmd.h, octave-dock-widget.h, octave-interpreter.h, thread-manager.h, welcome-wizard.h, workspace-model.h, workspace-view.h, base-text-renderer.h, comment-list.h, debug.h, dynamic-ld.cc, dynamic-ld.h, ft-text-renderer.cc, gl-render.h, gl2ps-print.cc, graphics.in.h, hook-fcn.h, input.h, load-path.h, mxarray.in.h, oct-errno.h, oct-fstrm.h, oct-handle.h, oct-iostrm.h, oct-lvalue.h, oct-stdstrm.h, oct-stream.cc, oct-stream.h, oct-strstrm.h, pr-output.cc, procstream.h, sighandlers.cc, symtab.h, text-renderer.h, txt-eng.h, variables.cc, workspace-element.h, __init_fltk__.cc, __init_gnuplot__.cc, ov-base-diag.h, ov-base-int.h, ov-base-scalar.h, ov-base-sparse.h, ov-base.h, ov-bool-mat.h, ov-bool-sparse.h, ov-bool.h, ov-builtin.h, ov-cell.h, ov-ch-mat.h, ov-class.h, ov-classdef.cc, ov-classdef.h, ov-colon.h, ov-complex.cc, ov-complex.h, ov-cs-list.h, ov-cx-diag.h, ov-cx-mat.h, ov-cx-sparse.h, ov-fcn-handle.h, ov-fcn-inline.h, ov-fcn.h, ov-float.h, ov-flt-complex.h, ov-flt-cx-diag.h, ov-flt-cx-mat.h, ov-flt-re-diag.h, ov-flt-re-mat.h, ov-intx.h, ov-lazy-idx.h, ov-re-diag.h, ov-re-mat.h, ov-re-sparse.h, ov-scalar.h, ov-str-mat.h, ov-struct.h, ov-typeinfo.h, ov-usr-fcn.h, ovl.h, octave.h, lex.h, parse.h, pt-binop.h, pt-bp.h, pt-cell.h, pt-check.h, pt-classdef.h, pt-cmd.h, pt-const.h, pt-decl.h, pt-eval.h, pt-exp.h, pt-fcn-handle.h, pt-funcall.h, pt-id.h, pt-jump.h, pt-loop.h, pt-mat.cc, pt-mat.h, pt-misc.h, pt-pr-code.h, pt-unop.h, pt-walk.h, pt.h, DiagArray2.h, MArray.h, MDiagArray2.h, MSparse.h, idx-vector.h, quit.h, CollocWt.h, DAE.h, DAEFunc.h, DAERT.h, DAERTFunc.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, ODE.h, ODEFunc.h, ODES.h, ODESFunc.h, Quad.h, aepbalance.h, base-dae.h, base-de.h, base-min.h, fEIG.h, gepbalance.h, gsvd.h, hess.h, lu.h, oct-rand.h, oct-spparms.h, qr.h, qrp.h, schur.h, sparse-lu.h, svd.h, child-list.h, file-stat.h, oct-passwd.h, oct-time.h, oct-uname.h, action-container.h, base-list.h, cmd-edit.cc, cmd-edit.h, cmd-hist.cc, cmd-hist.h, glob-match.h, lo-array-errwarn.h, lo-regexp.h, oct-mutex.h, pathsearch.h, str-vec.h, url-transfer.h:
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Dec 2016 10:59:29 -0500 |
parents | 89756f2f085b |
children | f75d289645ec |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Tue Dec 06 10:44:20 2016 -0500 +++ b/libinterp/corefcn/graphics.in.h Tue Dec 06 10:59:29 2016 -0500 @@ -60,7 +60,7 @@ public: base_scaler (void) { } - virtual ~base_scaler (void) { } + virtual ~base_scaler (void) = default; virtual Matrix scale (const Matrix&) const { @@ -280,7 +280,7 @@ hidden (p.hidden), listeners () { } - virtual ~base_property (void) { } + virtual ~base_property (void) = default; bool ok (void) const { return parent.ok (); } @@ -2068,7 +2068,7 @@ property_list (const plist_map_type& m = plist_map_type ()) : plist_map (m) { } - ~property_list (void) { } + ~property_list (void) = default; void set (const caseless_str& name, const octave_value& val); @@ -2110,7 +2110,7 @@ base_graphics_toolkit (const std::string& nm) : name (nm), count (0) { } - virtual ~base_graphics_toolkit (void) { } + virtual ~base_graphics_toolkit (void) = default; std::string get_name (void) const { return name; } @@ -2342,7 +2342,7 @@ gtk_manager (void) { } - ~gtk_manager (void) { } + ~gtk_manager (void) = default; OCTINTERP_API static void create_instance (void); @@ -2462,7 +2462,7 @@ const graphics_handle& mh = graphics_handle (), const graphics_handle& p = graphics_handle ()); - virtual ~base_properties (void) { } + virtual ~base_properties (void) = default; virtual std::string graphics_object_name (void) const { return "unknown"; } @@ -2690,7 +2690,7 @@ base_graphics_object (void) : count (1), toolkit_flag (false) { } - virtual ~base_graphics_object (void) { } + virtual ~base_graphics_object (void) = default; virtual void mark_modified (void) { @@ -3220,7 +3220,7 @@ root_figure (void) : xproperties (0, graphics_handle ()), default_properties () { } - ~root_figure (void) { } + ~root_figure (void) = default; void mark_modified (void) { } @@ -3519,7 +3519,7 @@ : base_graphics_object (), xproperties (mh, p), default_properties () { } - ~figure (void) { } + ~figure (void) = default; void override_defaults (base_graphics_object& obj) { @@ -3611,7 +3611,7 @@ : xform (g.xform), xform_inv (g.xform_inv), sx (g.sx), sy (g.sy), sz (g.sz), zlim (g.zlim) { } - ~graphics_xform (void) { } + ~graphics_xform (void) = default; graphics_xform& operator = (const graphics_xform& g) { @@ -4319,7 +4319,7 @@ xproperties.update_transform (); } - ~axes (void) { } + ~axes (void) = default; void override_defaults (base_graphics_object& obj) { @@ -4477,7 +4477,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~line (void) { } + ~line (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -4651,7 +4651,7 @@ xproperties.set_clipping ("off"); } - ~text (void) { } + ~text (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -4861,7 +4861,7 @@ xproperties.initialize_data (); } - ~image (void) { } + ~image (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -4910,7 +4910,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~light (void) { } + ~light (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5131,7 +5131,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~patch (void) { } + ~patch (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5323,7 +5323,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~surface (void) { } + ~surface (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5401,7 +5401,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~hggroup (void) { } + ~hggroup (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5475,7 +5475,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~uimenu (void) { } + ~uimenu (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5641,7 +5641,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~uicontrol (void) { } + ~uicontrol (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5727,7 +5727,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~uibuttongroup (void) { } + ~uibuttongroup (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5803,7 +5803,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~uipanel (void) { } + ~uipanel (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -5849,7 +5849,7 @@ : base_graphics_object (), xproperties (mh, p), default_properties () { } - ~uitoolbar (void) { } + ~uitoolbar (void) = default; void override_defaults (base_graphics_object& obj) { @@ -5958,7 +5958,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~uipushtool (void) { } + ~uipushtool (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -6017,7 +6017,7 @@ : base_graphics_object (), xproperties (mh, p) { } - ~uitoggletool (void) { } + ~uitoggletool (void) = default; base_properties& get_properties (void) { return xproperties; } @@ -6056,7 +6056,7 @@ base_graphics_event (void) : count (1) { } - virtual ~base_graphics_event (void) { } + virtual ~base_graphics_event (void) = default; virtual void execute (void) = 0;