Skip to content
Permalink
Browse files
fix msvc build
  • Loading branch information
jef-n authored and nyalldawson committed Aug 11, 2022
1 parent 3371e22 commit 203f7357e977ed9b5a90b1b78550e29a832c6b84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
@@ -135,7 +135,7 @@ QVariantMap QgsPackageAlgorithm::processAlgorithm( const QVariantMap &parameters
int recursionGuard { 0 };

// This function recursively finds referenced layers
const auto findReferenced = [ &project, &feedback, &recursionGuard, &layers, this ]( const QgsVectorLayer * vLayer, bool onlySaveSelected, auto &&findReferenced ) -> void
const auto findReferenced = [ &project, &feedback, &recursionGuard, &layers, &maxRecursion, this ]( const QgsVectorLayer * vLayer, bool onlySaveSelected, auto &&findReferenced ) -> void
{
const QgsVectorLayer *originalLayer { qobject_cast<QgsVectorLayer *>( project->mapLayer( mClonedLayerIds.value( vLayer->id(), vLayer->id() ) ) ) };
Q_ASSERT( originalLayer );
@@ -204,7 +204,7 @@ QVariantMap QgsPackageAlgorithm::processAlgorithm( const QVariantMap &parameters
};

// This function recursively finds referencing layers
const auto findReferencing = [ &project, &feedback, &recursionGuard, &layers, this ]( const QgsVectorLayer * vLayer, bool onlySaveSelected, auto &&findReferencing ) -> void
const auto findReferencing = [ &project, &feedback, &recursionGuard, &layers, &maxRecursion, this ]( const QgsVectorLayer * vLayer, bool onlySaveSelected, auto &&findReferencing ) -> void
{
const QgsVectorLayer *originalLayer { qobject_cast<QgsVectorLayer *>( project->mapLayer( mClonedLayerIds.value( vLayer->id(), vLayer->id() ) ) ) };
Q_ASSERT( originalLayer );
@@ -281,6 +281,9 @@ class CORE_EXPORT QgsProviderSublayerModelGroup : public QgsProviderSublayerMode
*/
QgsProviderSublayerModelGroup( const QString &title );

QgsProviderSublayerModelGroup( QgsProviderSublayerModelGroup &&other ) = default;
QgsProviderSublayerModelGroup &operator=( QgsProviderSublayerModelGroup && ) = default;

/**
* Returns the group's name
*/

0 comments on commit 203f735

Please sign in to comment.