Apply suggestions from code review

This commit is contained in:
Nyall Dawson 2023-06-21 09:58:32 +10:00
parent d04f279885
commit dbdbd75821
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ static void noticeProcessor( void *arg, const char *message )
QgsMessageLog::logMessage( QObject::tr( "NOTICE: %1" ).arg( msg ), QObject::tr( "PostGIS" ) );
}
QAtomicInt QgsPostgresConn::mNextCursorId = 0;
QAtomicInt QgsPostgresConn::sNextCursorId = 0;
QgsPostgresConn::QgsPostgresConn( const QString &conninfo, bool readOnly, bool shared, bool transaction, bool allowRequestCredentials )
: mRef( 1 )

View File

@ -546,7 +546,7 @@ class QgsPostgresConn : public QObject
bool mSwapEndian;
void deduceEndian();
static QAtomicInt mNextCursorId;
static QAtomicInt sNextCursorId;
bool mShared; //!< Whether the connection is shared by more providers (must not be if going to be used in worker threads)