Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
(cherry picked from commit cd3adc0)
  • Loading branch information
jef-n committed Oct 9, 2016
1 parent 8d690fa commit b51e3c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 12 additions & 0 deletions src/core/qgsprojectproperty.cpp
Expand Up @@ -21,6 +21,18 @@
#include <QDomDocument>
#include <QStringList>

QgsProperty::QgsProperty()
{
}

QgsProperty::~QgsProperty()
{
}

QgsPropertyValue::~QgsPropertyValue()
{
}

void QgsPropertyValue::dump( int tabs ) const
{
QString tabString;
Expand Down
12 changes: 4 additions & 8 deletions src/core/qgsprojectproperty.h
Expand Up @@ -47,12 +47,8 @@ class QDomDocument;
class CORE_EXPORT QgsProperty
{
public:

QgsProperty()
{}

virtual ~QgsProperty()
{}
QgsProperty();
virtual ~QgsProperty();

/** Dumps out the keys and values
*
Expand Down Expand Up @@ -125,7 +121,7 @@ class CORE_EXPORT QgsPropertyValue : public QgsProperty
: value_( value )
{}

virtual ~QgsPropertyValue() {}
virtual ~QgsPropertyValue();

/** Returns true if is a QgsPropertyKey */
virtual bool isKey() const override { return false; }
Expand Down Expand Up @@ -208,7 +204,7 @@ class CORE_EXPORT QgsPropertyKey : public QgsProperty


/// add the given property key
QgsPropertyKey * addKey( const QString & keyName )
QgsPropertyKey *addKey( const QString & keyName )
{
delete mProperties.take( keyName );
mProperties.insert( keyName, new QgsPropertyKey( keyName ) );
Expand Down

0 comments on commit b51e3c7

Please sign in to comment.