Skip to content

Commit

Permalink
Fix use of deleted function for QgsRenderedFeatureHandlerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere authored and nyalldawson committed Jun 16, 2020
1 parent 85e8f45 commit dc43b9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Expand Up @@ -48,6 +48,9 @@ Constructor for RenderedFeatureContext.
%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;
Expand Down
5 changes: 5 additions & 0 deletions src/core/qgsrenderedfeaturehandlerinterface.h
Expand Up @@ -63,6 +63,11 @@ class CORE_EXPORT QgsRenderedFeatureHandlerInterface
* The render context which was used while rendering feature.
*/
const QgsRenderContext &renderContext;

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

/**
Expand Down

0 comments on commit dc43b9f

Please sign in to comment.