mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Apply suggestions from code review
This commit is contained in:
parent
d04f279885
commit
dbdbd75821
@ -298,7 +298,7 @@ static void noticeProcessor( void *arg, const char *message )
|
|||||||
QgsMessageLog::logMessage( QObject::tr( "NOTICE: %1" ).arg( msg ), QObject::tr( "PostGIS" ) );
|
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 )
|
QgsPostgresConn::QgsPostgresConn( const QString &conninfo, bool readOnly, bool shared, bool transaction, bool allowRequestCredentials )
|
||||||
: mRef( 1 )
|
: mRef( 1 )
|
||||||
|
@ -546,7 +546,7 @@ class QgsPostgresConn : public QObject
|
|||||||
bool mSwapEndian;
|
bool mSwapEndian;
|
||||||
void deduceEndian();
|
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)
|
bool mShared; //!< Whether the connection is shared by more providers (must not be if going to be used in worker threads)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user