Mercurial > hg > octave-nkf
changeset 13722:ecff4c684b89
Provide dummy implementations of ctor and assign of base_graphics_object.
* graphics.h.in (base_graphics_object::base_graphics_object): Add dummy
implementation.
(base_graphics_object::operator*): Likewise.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Wed, 19 Oct 2011 12:16:04 +0100 |
parents | ca90a6d59ab6 |
children | 30c4bd2592dd |
files | src/graphics.h.in |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -2699,9 +2699,12 @@ // No copying! - base_graphics_object (const base_graphics_object&); - - base_graphics_object& operator = (const base_graphics_object&); + base_graphics_object (const base_graphics_object&) : count (0) { } + + base_graphics_object& operator = (const base_graphics_object&) + { + return *this; + } }; class OCTINTERP_API graphics_object