Skip to content
Permalink
Browse files

Stop using deprecated QFlags constructor

  • Loading branch information
stefanuhrig committed Jan 7, 2021
1 parent cf5180a commit 34b252c6e91b7acede4adf657bb8bb5743d1f3c7
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/hana/qgshanaprovider.h
  2. +1 −1 src/providers/hana/qgshanaproviderconnection.h
@@ -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;
@@ -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;

0 comments on commit 34b252c

Please sign in to comment.
You can’t perform that action at this time.