Skip to content

Commit

Permalink
Change QPair -> QPair<QString, QString>
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Aug 18, 2021
1 parent a5968fa commit b7ce979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsofflineediting.cpp
Expand Up @@ -231,7 +231,7 @@ void QgsOfflineEditing::synchronize( bool useTransaction )
for ( const std::shared_ptr<QgsVectorLayer> &remoteLayer : std::as_const( remoteLayersByOfflineId ) )
{
const QString connectionString = QgsTransaction::connectionString( remoteLayer->source() );
const QPair pair( remoteLayer->providerType(), connectionString );
const QPair<QString, QString> pair( remoteLayer->providerType(), connectionString );
std::shared_ptr<QgsTransactionGroup> transactionGroup = transactionGroups.value( pair );

if ( !transactionGroup.get() )
Expand Down

0 comments on commit b7ce979

Please sign in to comment.