Skip to content

Commit

Permalink
Removed leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent 4614c3e commit bad0fe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
10 changes: 3 additions & 7 deletions src/providers/db2/qgsdb2provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1289,11 +1289,8 @@ QgsVectorLayerExporter::ExportError QgsDb2Provider::createEmptyLayer( const QStr
const QgsCoordinateReferenceSystem &srs,
bool overwrite,
QMap<int, int> *oldToNewAttrIdxMap,
QString *errorMessage,
const QMap<QString, QVariant> *options )
QString *errorMessage )
{
Q_UNUSED( options );

// populate members from the uri structure
QgsDataSourceUri dsUri( uri );

Expand Down Expand Up @@ -1772,12 +1769,11 @@ QGISEXTERN QgsVectorLayerExporter::ExportError createEmptyLayer(
const QgsCoordinateReferenceSystem &srs,
bool overwrite,
QMap<int, int> *oldToNewAttrIdxMap,
QString *errorMessage,
const QMap<QString, QVariant> *options )
QString *errorMessage )
{
return QgsDb2Provider::createEmptyLayer(
uri, fields, wkbType, srs, overwrite,
oldToNewAttrIdxMap, errorMessage, options
oldToNewAttrIdxMap, errorMessage
);
}

Expand Down
3 changes: 1 addition & 2 deletions src/providers/db2/qgsdb2provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ class QgsDb2Provider : public QgsVectorDataProvider
const QgsCoordinateReferenceSystem &srs,
bool overwrite,
QMap<int, int> *oldToNewAttrIdxMap,
QString *errorMessage = nullptr,
const QMap<QString, QVariant> *coordinateTransformContext = nullptr
QString *errorMessage = nullptr
);

//! Convert a QgsField to work with DB2
Expand Down

0 comments on commit bad0fe4

Please sign in to comment.