Skip to content

Commit

Permalink
Stop using deprecated QFlags constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanuhrig committed Jan 7, 2021
1 parent cf5180a commit 34b252c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaprovider.h
Expand Up @@ -76,7 +76,7 @@ class QgsHanaProvider final : public QgsVectorDataProvider
QString subsetString() const override;
bool setSubsetString( const QString &subset, bool updateFeatureCount = true ) override;
bool supportsSubsetString() const override { return true; }
bool addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flags flags = nullptr ) override;
bool addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flags flags = QgsFeatureSink::Flags() ) override;
bool deleteFeatures( const QgsFeatureIds &id ) override;
bool truncate() override;
bool addAttributes( const QList<QgsField> &attributes ) override;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaproviderconnection.h
Expand Up @@ -42,7 +42,7 @@ class QgsHanaProviderConnection : public QgsAbstractDatabaseProviderConnection
void renameSchema( const QString &name, const QString &newName ) const override;
QList<QVariantList> executeSql( const QString &sql, QgsFeedback *feedback = nullptr ) const override;
QList<QgsAbstractDatabaseProviderConnection::TableProperty> tables( const QString &schema,
const TableFlags &flags = nullptr ) const override;
const TableFlags &flags = TableFlags() ) const override;
QStringList schemas( ) const override;
void store( const QString &name ) const override;
void remove( const QString &name ) const override;
Expand Down

0 comments on commit 34b252c

Please sign in to comment.