Skip to content

Commit e273ec7

Browse files
committedApr 26, 2017
Remove invalid doxygen note
It's only flipping a bool, and possibly in some circumstances it's more efficient to add features one by one rather than storing large number of features in a temporary list
1 parent 1280779 commit e273ec7

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed
 

‎python/core/qgsvectorlayer.sip

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -903,16 +903,6 @@ Return the provider type for this layer
903903

904904
virtual bool addFeature( QgsFeature &feature );
905905

906-
%Docstring
907-
Adds a single ``feature`` to the layer.
908-
Calling this method causes the layer to recalculate it's extents, which can be
909-
expensive. If multiple features are to be added to the layer then it is more
910-
efficient to call addFeatures(), as addFeatures() will only trigger a single
911-
layer extent recalculation.
912-
\see addFeatures()
913-
:return: true in case of success and false in case of failure
914-
:rtype: bool
915-
%End
916906

917907
bool updateFeature( QgsFeature &f );
918908
%Docstring

‎src/core/qgsvectorlayer.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -872,15 +872,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
872872
return getFeatures( QgsFeatureRequest( rectangle ) );
873873
}
874874

875-
/**
876-
* Adds a single \a feature to the layer.
877-
* Calling this method causes the layer to recalculate it's extents, which can be
878-
* expensive. If multiple features are to be added to the layer then it is more
879-
* efficient to call addFeatures(), as addFeatures() will only trigger a single
880-
* layer extent recalculation.
881-
* \see addFeatures()
882-
* \returns true in case of success and false in case of failure
883-
*/
884875
bool addFeature( QgsFeature &feature ) override;
885876

886877
/** Updates an existing feature. This method needs to query the datasource

0 commit comments

Comments
 (0)
Please sign in to comment.