Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
rename feature -> f to avoid an API break
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/qgsvectorlayer.h
|
@@ -979,7 +979,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer |
|
|
@param alsoUpdateExtent If True, will also go to the effort of e.g. updating the extents. |
|
|
@return True in case of success and False in case of error |
|
|
*/ |
|
|
bool addFeature( QgsFeature& feature, bool alsoUpdateExtent = true ); |
|
|
bool addFeature( QgsFeature& f, bool alsoUpdateExtent = true ); |
|
|
|
|
|
/** Updates an existing feature. This method needs to query the datasource |
|
|
on every call. Consider using {@link changeAttributeValue()} or |
|
|