From 7cc7f238d741894cfc7c25ee035a9ba6fb8077ef Mon Sep 17 00:00:00 2001 From: JamesJ <13408010-JamesJCode@users.noreply.gitlab.com> Date: Mon, 25 Mar 2024 19:56:16 +0000 Subject: [PATCH] SCH_SHAPE destructor marked virtual --- eeschema/sch_shape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_shape.h b/eeschema/sch_shape.h index 5acff64191..92e313a9c8 100644 --- a/eeschema/sch_shape.h +++ b/eeschema/sch_shape.h @@ -37,7 +37,7 @@ public: // Do not create a copy constructor. The one generated by the compiler is adequate. - ~SCH_SHAPE() { } + virtual ~SCH_SHAPE() {} wxString GetClass() const override {