mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix memory leak in QgsEllipse
This commit is contained in:
parent
b53e986781
commit
92d739619d
@ -27,6 +27,8 @@ class QgsEllipse
|
|||||||
public:
|
public:
|
||||||
QgsEllipse();
|
QgsEllipse();
|
||||||
|
|
||||||
|
virtual ~QgsEllipse();
|
||||||
|
|
||||||
QgsEllipse( const QgsPoint ¢er, const double semiMajorAxis, const double semiMinorAxis, const double azimuth = 90 );
|
QgsEllipse( const QgsPoint ¢er, const double semiMajorAxis, const double semiMinorAxis, const double azimuth = 90 );
|
||||||
%Docstring
|
%Docstring
|
||||||
Constructs an ellipse by defining all the members.
|
Constructs an ellipse by defining all the members.
|
||||||
|
@ -41,6 +41,8 @@ class CORE_EXPORT QgsEllipse
|
|||||||
public:
|
public:
|
||||||
QgsEllipse();
|
QgsEllipse();
|
||||||
|
|
||||||
|
virtual ~QgsEllipse() = default;
|
||||||
|
|
||||||
/** Constructs an ellipse by defining all the members.
|
/** Constructs an ellipse by defining all the members.
|
||||||
* \param center The center of the ellipse.
|
* \param center The center of the ellipse.
|
||||||
* \param semiMajorAxis Semi-major axis of the ellipse.
|
* \param semiMajorAxis Semi-major axis of the ellipse.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user