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;