Skip to content
Permalink
Browse files

Followup 850171, fix build

  • Loading branch information
nyalldawson committed Dec 30, 2016
1 parent 850171c commit 2daaff3f9d04586e2100c9f7406361efab22e5b7
Showing with 8 additions and 5 deletions.
  1. +1 −4 src/core/qgsfield.h
  2. +1 −0 src/core/qgsfield_p.h
  3. +3 −0 src/core/qgsfields.cpp
  4. +3 −1 src/core/qgsfields.h
@@ -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.
@@ -28,6 +28,7 @@
//

#include "qgsfieldconstraints.h"
#include "qgseditorwidgetsetup.h"
#include <QString>
#include <QVariant>
#include <QSharedData>
@@ -41,6 +41,9 @@ QgsFields& QgsFields::operator =( const QgsFields & other )
return *this;
}

QgsFields::~QgsFields()
{}

void QgsFields::clear()
{
d->fields.clear();
@@ -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.
@@ -80,7 +82,7 @@ class CORE_EXPORT QgsFields
*/
QgsFields& operator =( const QgsFields& other );

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

//! Remove all fields
void clear();

0 comments on commit 2daaff3

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