Skip to content

Commit

Permalink
Add missing transfer annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Sep 10, 2021
1 parent 495fbae commit b61256c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/symbology/qgsrenderer.sip.in
Expand Up @@ -387,7 +387,7 @@ Returns the current paint effect for the renderer.
.. versionadded:: 2.9
%End

void setPaintEffect( QgsPaintEffect *effect );
void setPaintEffect( QgsPaintEffect *effect /Transfer/ );
%Docstring
Sets the current paint effect for the renderer.

Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology/qgsrenderer.h
Expand Up @@ -410,7 +410,7 @@ class CORE_EXPORT QgsFeatureRenderer
* \see paintEffect
* \since QGIS 2.9
*/
void setPaintEffect( QgsPaintEffect *effect );
void setPaintEffect( QgsPaintEffect *effect SIP_TRANSFER );

/**
* Returns whether the renderer must render as a raster.
Expand Down

0 comments on commit b61256c

Please sign in to comment.