Skip to content
Permalink
Browse files

Avoid large parameter passed by value

  • Loading branch information
nyalldawson committed Feb 17, 2015
1 parent cf4c7c6 commit ca867636904d99589c6acc65ae7ade3074b68fdc
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/wcs/qgswcsdataitems.cpp
  2. +1 −1 src/providers/wcs/qgswcsdataitems.h
@@ -119,7 +119,7 @@ void QgsWCSConnectionItem::deleteConnection()

// ---------------------------------------------------------------------------

QgsWCSLayerItem::QgsWCSLayerItem( QgsDataItem* parent, QString name, QString path, QgsWcsCapabilitiesProperty capabilitiesProperty, QgsDataSourceURI dataSourceUri, const QgsWcsCoverageSummary& coverageSummary )
QgsWCSLayerItem::QgsWCSLayerItem( QgsDataItem* parent, QString name, QString path, const QgsWcsCapabilitiesProperty& capabilitiesProperty, QgsDataSourceURI dataSourceUri, const QgsWcsCoverageSummary& coverageSummary )
: QgsLayerItem( parent, name, path, QString(), QgsLayerItem::Raster, "wcs" ),
mCapabilities( capabilitiesProperty ),
mDataSourceUri( dataSourceUri ),
@@ -49,7 +49,7 @@ class QgsWCSLayerItem : public QgsLayerItem
Q_OBJECT
public:
QgsWCSLayerItem( QgsDataItem* parent, QString name, QString path,
QgsWcsCapabilitiesProperty capabilitiesProperty, QgsDataSourceURI dataSourceUri, const QgsWcsCoverageSummary& coverageSummary );
const QgsWcsCapabilitiesProperty& capabilitiesProperty, QgsDataSourceURI dataSourceUri, const QgsWcsCoverageSummary& coverageSummary );
~QgsWCSLayerItem();

QString createUri();

0 comments on commit ca86763

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