Skip to content

Commit

Permalink
Followup 850171, fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 30, 2016
1 parent 850171c commit 2daaff3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/core/qgsfield.h
Expand Up @@ -20,13 +20,10 @@
#include <QVariant>
#include <QVector>
#include <QSharedDataPointer>
#include "qgsfield_p.h"

typedef QList<int> QgsAttributeList;

class QgsExpression;
class QgsFieldPrivate;
class QgsFieldsPrivate;

/***************************************************************************
* This class is considered CRITICAL and any change MUST be accompanied with
* full unit tests in testqgsfield.cpp.
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsfield_p.h
Expand Up @@ -28,6 +28,7 @@
//

#include "qgsfieldconstraints.h"
#include "qgseditorwidgetsetup.h"
#include <QString>
#include <QVariant>
#include <QSharedData>
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsfields.cpp
Expand Up @@ -41,6 +41,9 @@ QgsFields& QgsFields::operator =( const QgsFields & other )
return *this;
}

QgsFields::~QgsFields()
{}

void QgsFields::clear()
{
d->fields.clear();
Expand Down
4 changes: 3 additions & 1 deletion src/core/qgsfields.h
Expand Up @@ -18,6 +18,8 @@

#include "qgsfield.h"

class QgsFieldsPrivate;

/***************************************************************************
* This class is considered CRITICAL and any change MUST be accompanied with
* full unit tests in testqgsfields.cpp.
Expand Down Expand Up @@ -80,7 +82,7 @@ class CORE_EXPORT QgsFields
*/
QgsFields& operator =( const QgsFields& other );

virtual ~QgsFields() = default;
virtual ~QgsFields();

//! Remove all fields
void clear();
Expand Down

0 comments on commit 2daaff3

Please sign in to comment.