Skip to content
Permalink
Browse files

make defval const

Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
2 people authored and nyalldawson committed Oct 21, 2020
1 parent 29ff58e commit 3e00e0ccc3007817629c0fe3e1634a573518bf76
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/qgsoracleprovider.cpp
@@ -1353,7 +1353,7 @@ bool QgsOracleProvider::addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flag

insert += delim + quotedIdentifier( fld.name() );

QString defVal = defaultValueClause( idx );
const QString defVal = defaultValueClause( idx );

values += delim + '?';
defaultValues.append( defVal );

0 comments on commit 3e00e0c

Please sign in to comment.
You can’t perform that action at this time.