Try to fix build failure on clang

This commit is contained in:
Nyall Dawson 2017-04-25 16:47:52 +10:00
parent 5be060fe85
commit d27cbe7f3f

View File

@ -233,7 +233,7 @@ class QgsFeatureRequest
sipCpp->setInvalidGeometryCallback([a0](const QgsFeature &arg) {
SIP_BLOCK_THREADS
Py_XDECREF( sipCallMethod(NULL, a0, "D", arg, sipType_QgsFeature, NULL) );
Py_XDECREF( sipCallMethod(NULL, a0, "D", &arg, sipType_QgsFeature, NULL) );
SIP_UNBLOCK_THREADS
});