Skip to content

Commit

Permalink
Fix build with gcc 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 25, 2019
1 parent d17cf81 commit 31c25e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgsjsonutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ class TestQgsJsonUtils : public QObject
void testExportAttributesJson()
{

QFETCH( enum JsonAlgs, JsonAlgs );
QFETCH( enum JsonAlgs, jsonAlg );

QgsVectorLayer vl { QStringLiteral( "Point?field=fldtxt:string&field=fldint:integer&field=flddbl:double" ), QStringLiteral( "mem" ), QStringLiteral( "memory" ) };
QgsFeature feature { vl.fields() };
feature.setAttributes( QgsAttributes() << QStringLiteral( "a value" ) << 1 << 2.0 );

if ( JsonAlgs == JsonAlgs::Json ) // 0.0022
if ( jsonAlg == JsonAlgs::Json ) // 0.0022
{
QBENCHMARK
{
Expand Down

0 comments on commit 31c25e4

Please sign in to comment.