From 691b53d1254c04e3d375c894005a9f7e8e2505a7 Mon Sep 17 00:00:00 2001 From: Sylwester Kocjan Date: Wed, 18 Aug 2021 21:58:59 +0200 Subject: [PATCH] eeschema: add missing virtual destructors --- eeschema/sim/netlist_exporter_pspice_sim.h | 1 + eeschema/sim/spice_settings.h | 1 + 2 files changed, 2 insertions(+) diff --git a/eeschema/sim/netlist_exporter_pspice_sim.h b/eeschema/sim/netlist_exporter_pspice_sim.h index a083cb96ec..c23a09c6a9 100644 --- a/eeschema/sim/netlist_exporter_pspice_sim.h +++ b/eeschema/sim/netlist_exporter_pspice_sim.h @@ -50,6 +50,7 @@ public: NETLIST_EXPORTER_PSPICE( aSchematic ) { } + virtual ~NETLIST_EXPORTER_PSPICE_SIM() {} /** * Return name of Spice dataset for a specific plot. diff --git a/eeschema/sim/spice_settings.h b/eeschema/sim/spice_settings.h index b80052748c..2dabfc1c18 100644 --- a/eeschema/sim/spice_settings.h +++ b/eeschema/sim/spice_settings.h @@ -87,6 +87,7 @@ class NGSPICE_SIMULATOR_SETTINGS : public SPICE_SIMULATOR_SETTINGS { public: NGSPICE_SIMULATOR_SETTINGS( JSON_SETTINGS* aParent, const std::string& aPath ); + virtual ~NGSPICE_SIMULATOR_SETTINGS() {} bool operator==( const SPICE_SIMULATOR_SETTINGS& aRhs ) const override;