Skip to content
Permalink
Browse files

Fix build again

  • Loading branch information
nyalldawson committed Mar 20, 2021
1 parent 12e68c7 commit 7e7c02a1121aec669d6caa6e4ca8b9d5b294b5a3
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/symbology/qgsrulebasedrenderer.h
@@ -102,19 +102,19 @@ class CORE_EXPORT QgsRuleBasedRenderer : public QgsFeatureRenderer
zIndex = rh.zIndex;
qDeleteAll( jobs );
jobs.clear();
for ( RenderJob *job : std::as_const( rh.jobs ) )
for ( auto it = rh.jobs.constBegin(); it != rh.jobs.constEnd(); ++it )
{
jobs << new RenderJob( *job );
jobs << new RenderJob( *( *it ) );
}
return *this;
}

RenderLevel( const QgsRuleBasedRenderer::RenderLevel &other )
: zIndex( other.zIndex ), jobs()
{
for ( RenderJob *job : std::as_const( other.jobs ) )
for ( auto it = other.jobs.constBegin(); it != other.jobs.constEnd(); ++it )
{
jobs << new RenderJob( *job );
jobs << new RenderJob( * ( *it ) );
}
}

0 comments on commit 7e7c02a

Please sign in to comment.