Skip to content
Browse files
Small fix to QgsDataDefined implicit sharing
  • Loading branch information
nyalldawson committed May 9, 2015
1 parent 65cd9fc commit 4a4877d349748922a774e5d958b27401f50010b8
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/core/qgsdatadefined.cpp
@@ -210,7 +210,10 @@ bool QgsDataDefined::expressionIsPrepared() const

QgsExpression *QgsDataDefined::expression()
//Ideally there should be a detach here, but that causes issues
//as detaching can create a new expression which will be unprepared
//TODO - revisit after QgsExpression is made implicitly shared
return d->expression;

0 comments on commit 4a4877d

Please sign in to comment.