Skip to content

Commit

Permalink
fix cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Jan 29, 2021
1 parent d79ade0 commit e7c48f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleproviderconnection.cpp
Expand Up @@ -355,7 +355,7 @@ QList<QgsAbstractDatabaseProviderConnection::TableProperty> QgsOracleProviderCon
property.setTableName( pr.tableName );
property.setSchema( pr.ownerName );
property.setGeometryColumn( pr.geometryColName );
property.setGeometryColumnCount( prFlags & QgsAbstractDatabaseProviderConnection::TableFlag::Aspatial ? 0 : 1 );
property.setGeometryColumnCount( ( prFlags & QgsAbstractDatabaseProviderConnection::TableFlag::Aspatial ) ? 0 : 1 );
property.setPrimaryKeyColumns( pr.isView ? pr.pkCols : conn->getPrimaryKeys( pr.ownerName, pr.tableName ) );

tables.push_back( property );
Expand Down
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleproviderconnection.h
Expand Up @@ -45,7 +45,7 @@ class QgsOracleProviderConnection : public QgsAbstractDatabaseProviderConnection
{
public:

QgsOracleProviderConnection( const QString &name );
explicit QgsOracleProviderConnection( const QString &name );
QgsOracleProviderConnection( const QString &uri, const QVariantMap &configuration );

// QgsAbstractProviderConnection interface
Expand Down

0 comments on commit e7c48f2

Please sign in to comment.