Navigation Menu

Skip to content

Commit

Permalink
Replace deprecated sipTransferBreak with sipTransferTo
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 authored and nyalldawson committed Jul 21, 2020
1 parent d9db0d5 commit 7e93859
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/raster/qgsrasterpipe.sip.in
Expand Up @@ -54,7 +54,7 @@ if connection would fail, the interface is not inserted and ``False`` is returne
// if insertion failed transfer ownership back to python
PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
if ( o )
sipTransferBreak( o );
sipTransferTo( o, NULL );
}
%End

Expand Down
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterpipe.h
Expand Up @@ -83,7 +83,7 @@ class CORE_EXPORT QgsRasterPipe
// if insertion failed transfer ownership back to python
PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
if ( o )
sipTransferBreak( o );
sipTransferTo( o, NULL );
}
% End
#endif
Expand Down

0 comments on commit 7e93859

Please sign in to comment.