Skip to content

Commit 2682a74

Browse files
committedFeb 2, 2018
Fix clazy pass big type by ref, small by value warnings
1 parent 010329e commit 2682a74

File tree

75 files changed

+142
-142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+142
-142
lines changed
 

‎python/core/processing/models/qgsprocessingmodelcomponent.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Returns the position of the model component within the graphical modeler.
4444
.. seealso:: :py:func:`setPosition`
4545
%End
4646

47-
void setPosition( const QPointF &position );
47+
void setPosition( QPointF position );
4848
%Docstring
4949
Sets the ``position`` of the model component within the graphical modeler.
5050

‎python/core/processing/qgsprocessingcontext.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Returns any flags set in the context.
5252
.. seealso:: :py:func:`setFlags`
5353
%End
5454

55-
void setFlags( const QgsProcessingContext::Flags &flags );
55+
void setFlags( QgsProcessingContext::Flags flags );
5656
%Docstring
5757
Sets ``flags`` for the context.
5858

@@ -161,7 +161,7 @@ Returns the behavior used for checking invalid geometries in input layers.
161161
.. seealso:: :py:func:`setInvalidGeometryCheck`
162162
%End
163163

164-
void setInvalidGeometryCheck( const QgsFeatureRequest::InvalidGeometryCheck &check );
164+
void setInvalidGeometryCheck( QgsFeatureRequest::InvalidGeometryCheck check );
165165
%Docstring
166166
Sets the behavior used for checking invalid geometries in input layers.
167167
Settings this to anything but QgsFeatureRequest.GeometryNoCheck will also

0 commit comments

Comments
 (0)
Please sign in to comment.