Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
const on variable
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
troopa81 and elpaso committed Nov 23, 2020
1 parent fe3b809 commit 4f1b8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -1214,7 +1214,7 @@ QVariant QgsOracleProvider::defaultValue( int fieldId ) const
QString QgsOracleProvider::defaultValueClause( int fieldId ) const
{
QString defVal = mDefaultValues.value( fieldId, QString() ).toString();
bool isGenerated = mAlwaysGenerated.value( fieldId, false );
const bool isGenerated = mAlwaysGenerated.value( fieldId, false );

if ( isGenerated )
{
Expand Down

0 comments on commit 4f1b8e3

Please sign in to comment.