Skip to content

Commit

Permalink
No brace init
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Jun 13, 2021
1 parent 2fff67a commit 2f25d85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/core/testqgsexpression.cpp
Expand Up @@ -3959,15 +3959,15 @@ class TestQgsExpression: public QObject

void test_formatPreviewStringWithLocale()
{
const QVariant t_int { 12345 };
const QVariant t_int( 12345 );
QVariant t_uint( QVariant::UInt );
t_uint = 12345;
QVariant t_long( QVariant::LongLong );
t_long = 12345;
QVariant t_ulong( QVariant::ULongLong );
t_ulong = 12345;
const QVariant t_float { 12345.001F };
const QVariant t_double { 12345.001 };
const QVariant t_float( 12345.001F );
const QVariant t_double( 12345.001 );

QLocale().setDefault( QLocale::English );

Expand Down

0 comments on commit 2f25d85

Please sign in to comment.