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 {