Skip to content

Commit 43b122e

Browse files
3nidsnyalldawson
authored andcommittedJun 18, 2020
fix Qt 5.15 warning for flags initalization with nullptr
1 parent 5b5f1f5 commit 43b122e

File tree

59 files changed

+99
-99
lines changed

Some content is hidden

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

59 files changed

+99
-99
lines changed
 

‎src/analysis/vector/geometry_checker/qgsgeometrycheckregistry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ANALYSIS_EXPORT QgsGeometryCheckRegistry
6969
*
7070
* \since QGIS 3.4
7171
*/
72-
QList<QgsGeometryCheckFactory *> geometryCheckFactories( QgsVectorLayer *layer, QgsGeometryCheck::CheckType type, QgsGeometryCheck::Flags flags = nullptr ) const;
72+
QList<QgsGeometryCheckFactory *> geometryCheckFactories( QgsVectorLayer *layer, QgsGeometryCheck::CheckType type, QgsGeometryCheck::Flags flags = QgsGeometryCheck::Flags() ) const;
7373

7474
/**
7575
* Registers a new geometry check factory.

‎src/analysis/vector/geometry_checker/qgsvectordataproviderfeaturepool.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ class ANALYSIS_EXPORT QgsVectorDataProviderFeaturePool : public QgsFeaturePool
3737
*/
3838
QgsVectorDataProviderFeaturePool( QgsVectorLayer *layer, bool selectedOnly = false );
3939

40-
bool addFeature( QgsFeature &feature, QgsFeatureSink::Flags flags = nullptr ) override;
41-
bool addFeatures( QgsFeatureList &features, QgsFeatureSink::Flags flags = nullptr ) override;
40+
bool addFeature( QgsFeature &feature, QgsFeatureSink::Flags flags = QgsFeatureSink::Flags() ) override;
41+
bool addFeatures( QgsFeatureList &features, QgsFeatureSink::Flags flags = QgsFeatureSink::Flags() ) override;
4242
void updateFeature( QgsFeature &feature ) override;
4343
void deleteFeature( QgsFeatureId fid ) override;
4444

0 commit comments

Comments
 (0)
Please sign in to comment.