Skip to content

Commit

Permalink
Fix a clazy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 8, 2019
1 parent 74b96ce commit c94b305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/expression/qgsexpression.cpp
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 c94b305

Please sign in to comment.