Skip to content

Commit 0a942fd

Browse files
committedMay 13, 2017
fix windows build
1 parent 43595f5 commit 0a942fd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎src/core/symbology-ng/qgssymbolv2.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,15 +708,16 @@ class ExpressionContextScopePopper
708708
{
709709
public:
710710

711-
ExpressionContextScopePopper() = default;
711+
ExpressionContextScopePopper() : context( nullptr )
712+
{}
712713

713714
~ExpressionContextScopePopper()
714715
{
715716
if ( context )
716717
context->popScope();
717718
}
718719

719-
QgsExpressionContext *context = nullptr;
720+
QgsExpressionContext *context;
720721
};
721722
///@endcond PRIVATE
722723

@@ -1154,10 +1155,10 @@ QgsMarkerSymbolV2::QgsMarkerSymbolV2( const QgsSymbolLayerV2List& layers )
11541155
mLayers.append( new QgsSimpleMarkerSymbolLayerV2() );
11551156
}
11561157

1157-
void QgsMarkerSymbolV2::setAngle( double ang )
1158+
void QgsMarkerSymbolV2::setAngle( double angle0 )
11581159
{
11591160
double origAngle = angle();
1160-
double angleDiff = ang - origAngle;
1161+
double angleDiff = angle0 - origAngle;
11611162
Q_FOREACH ( QgsSymbolLayerV2* layer, mLayers )
11621163
{
11631164
QgsMarkerSymbolLayerV2* markerLayer = dynamic_cast<QgsMarkerSymbolLayerV2*>( layer );

0 commit comments

Comments
 (0)
Please sign in to comment.