Skip to content
Permalink
Browse files

Fix use of deleted function for QgsRenderedFeatureHandlerInterface

  • Loading branch information
pblottiere authored and nyalldawson committed Jun 10, 2020
1 parent 7c752cb commit fe2621d06340b5ce0c2a972ed58c05cfe6178fb4
@@ -37,17 +37,20 @@ of all features rendered on a map.
struct RenderedFeatureContext
{

RenderedFeatureContext( const QgsRenderContext &renderContext );
RenderedFeatureContext( const QgsRenderContext &renderContext );
%Docstring
Constructor for RenderedFeatureContext.

:param renderContext: The render context which was used while rendering feature.
%End

const QgsRenderContext &renderContext;
const QgsRenderContext &renderContext;
%Docstring
The render context which was used while rendering feature.
%End

private:
RenderedFeatureContext &operator=( const RenderedFeatureContext & );
};

virtual void handleRenderedFeature( const QgsFeature &feature, const QgsGeometry &renderedBounds, const QgsRenderedFeatureHandlerInterface::RenderedFeatureContext &context ) = 0;
@@ -51,18 +51,23 @@ class CORE_EXPORT QgsRenderedFeatureHandlerInterface
struct CORE_EXPORT RenderedFeatureContext
{

/**
* Constructor for RenderedFeatureContext.
* \param renderContext The render context which was used while rendering feature.
*/
RenderedFeatureContext( const QgsRenderContext &renderContext )
: renderContext( renderContext )
{}
/**
* Constructor for RenderedFeatureContext.
* \param renderContext The render context which was used while rendering feature.
*/
RenderedFeatureContext( const QgsRenderContext &renderContext )
: renderContext( renderContext )
{}

/**
* The render context which was used while rendering feature.
*/
const QgsRenderContext &renderContext;
/**
* The render context which was used while rendering feature.
*/
const QgsRenderContext &renderContext;

private:
#ifdef SIP_RUN
RenderedFeatureContext &operator=( const RenderedFeatureContext & );
#endif
};

/**

0 comments on commit fe2621d

Please sign in to comment.
You can’t perform that action at this time.