Skip to content

Commit

Permalink
Fix a clazy warning
Browse files Browse the repository at this point in the history
(cherry picked from commit c94b305)
  • Loading branch information
nyalldawson committed Jan 11, 2019
1 parent be47fd5 commit 0697f0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/expression/qgsexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ QString QgsExpression::quotedValue( const QVariant &value, QVariant::Type type )
{
QStringList quotedValues;
const QVariantList values = value.toList();
quotedValues.reserve( values.count() );
for ( const QVariant &v : values )
{
quotedValues += quotedValue( v );
Expand Down

0 comments on commit 0697f0f

Please sign in to comment.