Skip to content
Permalink
Browse files

Fix use of deleted function for QgsRuleBasedRenderer::RenderJob

  • Loading branch information
pblottiere authored and nyalldawson committed Jun 11, 2020
1 parent 385f639 commit 39b63cbbdc36c9ac3f33c1d5606a6262f8a0174a
@@ -40,6 +40,7 @@ the rules and draws features with symbols from rules that match.
{
RenderJob( QgsRuleBasedRenderer::FeatureToRender &_ftr, QgsSymbol *_s );


QgsRuleBasedRenderer::FeatureToRender &ftr;
%Docstring
Feature to render
@@ -70,6 +70,13 @@ class CORE_EXPORT QgsRuleBasedRenderer : public QgsFeatureRenderer
, symbol( _s )
{}

QgsRuleBasedRenderer::RenderJob &operator=( const QgsRuleBasedRenderer::RenderJob &rj )
{
symbol = rj.symbol;
ftr = rj.ftr;
return *this;
}

//! Feature to render
QgsRuleBasedRenderer::FeatureToRender &ftr;

0 comments on commit 39b63cb

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