From 8de12094d8dfec16f1a2e73de09445e35b7f4efb Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 2 Jan 2019 19:55:16 -0800 Subject: [PATCH] Fix compile error for missing dtor in overload --- pcbnew/import_gfx/graphics_importer_buffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/import_gfx/graphics_importer_buffer.h b/pcbnew/import_gfx/graphics_importer_buffer.h index cfc5a50419..2fce43c90f 100644 --- a/pcbnew/import_gfx/graphics_importer_buffer.h +++ b/pcbnew/import_gfx/graphics_importer_buffer.h @@ -3,7 +3,7 @@ * * Copyright (C) 2017 CERN * @author Janito Vaqueiro Ferreira Filho - * Copyright (C) 2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2018-2019 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -33,6 +33,7 @@ class IMPORTED_SHAPE { public: + virtual ~IMPORTED_SHAPE() {} virtual void ImportTo( GRAPHICS_IMPORTER& aImporter ) const = 0; };