Skip to content

Commit

Permalink
Add missing transfer annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 10, 2021
1 parent 804bf02 commit ae4c1b0
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 @@ -390,7 +390,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 @@ -415,7 +415,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 ae4c1b0

Please sign in to comment.