Skip to content
Permalink
Browse files

change return type of QgsGrassRasterProvider::clone()

  • Loading branch information
vcloarec authored and nyalldawson committed Oct 2, 2020
1 parent 2997099 commit 6de82d62b72236d79fbd91307d122a3e2e1cc6ac
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/grass/qgsgrassrasterprovider.cpp
  2. +1 −1 src/providers/grass/qgsgrassrasterprovider.h
@@ -167,7 +167,7 @@ QgsGrassRasterProvider::~QgsGrassRasterProvider()
QgsDebugMsg( "QgsGrassRasterProvider: deconstructing." );
}

QgsRasterInterface *QgsGrassRasterProvider::clone() const
QgsGrassRasterProvider *QgsGrassRasterProvider::clone() const
{
QgsGrassRasterProvider *provider = new QgsGrassRasterProvider( dataSourceUri() );
provider->copyBaseSettings( *this );
@@ -102,7 +102,7 @@ class GRASS_LIB_EXPORT QgsGrassRasterProvider : public QgsRasterDataProvider

~QgsGrassRasterProvider() override;

QgsRasterInterface *clone() const override;
QgsGrassRasterProvider *clone() const override;

/**
* Returns a provider name

0 comments on commit 6de82d6

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