Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build, warnings
  • Loading branch information
nyalldawson committed Jun 18, 2021
1 parent 11e88f7 commit bfed43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -6073,8 +6073,7 @@ static QVariant executeGeomOverlay( const QVariantList &values, const QgsExpress
QgsFeatureRequest request;
request.setTimeout( 10000 );
request.setRequestMayBeNested( true );
if ( context )
request.setFeedback( context->feedback() );
request.setFeedback( context->feedback() );

// First parameter is the overlay layer
QgsExpressionNode *node = QgsExpressionUtils::getNode( values.at( 0 ), parent );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsconnectionpool.h
Expand Up @@ -30,7 +30,7 @@
#include <QTime>
#include <QTimer>
#include <QThread>

#include <QElapsedTimer>

#define CONN_POOL_EXPIRATION_TIME 60 // in seconds
#define CONN_POOL_SPARE_CONNECTIONS 2 // number of spare connections in case all the base connections are used but we have a nested request with the risk of a deadlock
Expand Down

0 comments on commit bfed43f

Please sign in to comment.