Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add virtual default destructors
  • Loading branch information
pblottiere committed Jul 23, 2018
1 parent 555b947 commit 7b32f8c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/server/auto_generated/qgsserverparameters.sip.in
Expand Up @@ -29,6 +29,8 @@ the Free Software Foundation; either version 2 of the License, or *
QgsServerParameterDefinition( const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsServerParameterDefinition();

QString typeName() const;
virtual bool isValid() const;

Expand Down Expand Up @@ -110,6 +112,8 @@ Constructor.
Constructor.
%End

virtual ~QgsServerParameters();

void load( const QUrlQuery &query );
%Docstring
Loads new parameters.
Expand Down
4 changes: 4 additions & 0 deletions src/server/qgsserverparameters.h
Expand Up @@ -32,6 +32,8 @@ class SERVER_EXPORT QgsServerParameterDefinition
QgsServerParameterDefinition( const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsServerParameterDefinition() = default;

QString typeName() const;
virtual bool isValid() const;

Expand Down Expand Up @@ -103,6 +105,8 @@ class SERVER_EXPORT QgsServerParameters
*/
QgsServerParameters( const QUrlQuery &query );

virtual ~QgsServerParameters() = default;

/**
* Loads new parameters.
* \param query url query
Expand Down
4 changes: 4 additions & 0 deletions src/server/services/wfs/qgswfsparameters.h
Expand Up @@ -66,6 +66,8 @@ namespace QgsWfs
const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsWfsParameter() = default;

int toInt() const;
QStringList toStringListWithExp( const QString &exp = "\\(([^()]+)\\)" ) const;
QgsRectangle toRectangle() const;
Expand Down Expand Up @@ -113,6 +115,8 @@ namespace QgsWfs
*/
QgsWfsParameters();

virtual ~QgsWfsParameters() = default;

/**
* Loads new parameters.
* \param parameters Map of parameters
Expand Down
4 changes: 4 additions & 0 deletions src/server/services/wms/qgswmsparameters.h
Expand Up @@ -159,6 +159,8 @@ namespace QgsWms
const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsWmsParameter() = default;

bool isValid() const override;

QList<QgsGeometry> toGeomList( const char delimiter = ',' ) const;
Expand Down Expand Up @@ -210,6 +212,8 @@ namespace QgsWms
*/
QgsWmsParameters();

virtual ~QgsWmsParameters() = default;

/**
* Loads new parameters.
* \param parameters Map of parameters
Expand Down

0 comments on commit 7b32f8c

Please sign in to comment.