Skip to content
Permalink
Browse files

Replace deprecated sipTransferBreak with sipTransferTo

  • Loading branch information
mitya57 authored and nyalldawson committed Jul 21, 2020
1 parent d9db0d5 commit 7e93859dfd86c4657683d5a654548c9cc73d5f6f
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/auto_generated/raster/qgsrasterpipe.sip.in
  2. +1 −1 src/core/raster/qgsrasterpipe.h
@@ -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

@@ -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

0 comments on commit 7e93859

Please sign in to comment.
You can’t perform that action at this time.