diff --git a/python/core/geometry/qgsellipse.sip b/python/core/geometry/qgsellipse.sip index ee5a593c61b..c69cbfaa559 100644 --- a/python/core/geometry/qgsellipse.sip +++ b/python/core/geometry/qgsellipse.sip @@ -27,6 +27,8 @@ class QgsEllipse public: QgsEllipse(); + virtual ~QgsEllipse(); + QgsEllipse( const QgsPoint ¢er, const double semiMajorAxis, const double semiMinorAxis, const double azimuth = 90 ); %Docstring Constructs an ellipse by defining all the members. diff --git a/src/core/geometry/qgsellipse.h b/src/core/geometry/qgsellipse.h index b0cbfd75cd7..8596bc9eb3a 100644 --- a/src/core/geometry/qgsellipse.h +++ b/src/core/geometry/qgsellipse.h @@ -41,6 +41,8 @@ class CORE_EXPORT QgsEllipse public: QgsEllipse(); + virtual ~QgsEllipse() = default; + /** Constructs an ellipse by defining all the members. * \param center The center of the ellipse. * \param semiMajorAxis Semi-major axis of the ellipse.