mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Fix leak caused by missing virtual destructor
This commit is contained in:
parent
2ca6992ca1
commit
6d82cd63b6
@ -38,4 +38,6 @@ class QgsExpressionContextGenerator
|
|||||||
* and return an expression context.
|
* and return an expression context.
|
||||||
*/
|
*/
|
||||||
virtual QgsExpressionContext createExpressionContext() const = 0;
|
virtual QgsExpressionContext createExpressionContext() const = 0;
|
||||||
|
|
||||||
|
virtual ~QgsExpressionContextGenerator();
|
||||||
};
|
};
|
||||||
|
@ -43,6 +43,8 @@ class QgsExpressionContextGenerator
|
|||||||
* @note Added in QGIS 3.0
|
* @note Added in QGIS 3.0
|
||||||
*/
|
*/
|
||||||
virtual QgsExpressionContext createExpressionContext() const = 0;
|
virtual QgsExpressionContext createExpressionContext() const = 0;
|
||||||
|
|
||||||
|
virtual ~QgsExpressionContextGenerator() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QGSEXPRESSIONCONTEXTGENERATOR_H
|
#endif // QGSEXPRESSIONCONTEXTGENERATOR_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user