Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
mhugent authored and nyalldawson committed Jun 15, 2018
1 parent e76ca64 commit e90b58f6a1d405ae3f6a7145ca6681e54779afb6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/dxf/qgsdxfexport.cpp
@@ -1001,6 +1001,7 @@ void QgsDxfExport::writeEntities()

auto scopePopper = [&ctx]( QgsExpressionContextScope * scope )
{
Q_UNUSED( scope );
delete ctx.expressionContext().popScope();
};
std::unique_ptr<QgsExpressionContextScope, decltype( scopePopper ) > layerScope( QgsExpressionContextUtils::layerScope( ml ), scopePopper );

0 comments on commit e90b58f

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