31 #include "qgis_core.h"
32 #include <QSharedData>
41 class QgsFieldsPrivate :
public QSharedData
49 QgsFieldsPrivate(
const QgsFieldsPrivate &other )
50 : QSharedData( other )
51 , fields( other.fields )
52 , nameToIndex( other.nameToIndex )
56 ~QgsFieldsPrivate() {}
59 QVector<QgsFields::Field> fields;
62 QHash<QString, int> nameToIndex;
65 QgsFieldsPrivate &operator= (
const QgsFieldsPrivate & ) =
delete;