From 077c33a400693987ae59fa5d9bbc95ae319fc7e2 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 22 Jun 2015 20:33:15 +0200 Subject: [PATCH] Fix build error from 5803 --- eeschema/project_rescue.cpp | 4 ---- eeschema/project_rescue.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/eeschema/project_rescue.cpp b/eeschema/project_rescue.cpp index 7150928532..fe5dbfd502 100644 --- a/eeschema/project_rescue.cpp +++ b/eeschema/project_rescue.cpp @@ -487,10 +487,6 @@ void RESCUER::UndoRescues() bool SCH_EDIT_FRAME::RescueProject( bool aRunningOnDemand ) { - // Data that will be used throughout the operation - std::vector candidates; - wxString part_name_suffix; - RESCUER rescuer( *this, Prj() ); rescuer.FindCandidates(); diff --git a/eeschema/project_rescue.h b/eeschema/project_rescue.h index bc961da326..a179914d03 100644 --- a/eeschema/project_rescue.h +++ b/eeschema/project_rescue.h @@ -56,6 +56,8 @@ enum RESCUE_TYPE class RESCUE_CANDIDATE { public: + virtual ~RESCUE_CANDIDATE() {} + /** * Function GetRequestedName * Get the name that was originally requested in the schematic