OSDN Git Service

move locale headers inclusions to the top of tst_qlocale source
authorIvailo Monev <xakepa10@laimg.moc>
Wed, 7 Aug 2019 21:01:30 +0000 (21:01 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Wed, 7 Aug 2019 21:01:30 +0000 (21:01 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
tests/auto/qlocale/tst_qlocale.cpp

index 15cf962..224bd40 100644 (file)
@@ -46,6 +46,8 @@
 #include <qlocale.h>
 #include <qnumeric.h>
 #include <qprocess.h>
+#include <qlocale_p.h>
+#include <qlocale_data_p.h>
 
 #include <math.h>
 #include <float.h>
@@ -1134,9 +1136,6 @@ void tst_QLocale::negativeNumbers()
     QCOMPARE(i, -1000000);
 }
 
-#include <qlocale_p.h>
-#include <qlocale_data_p.h>
-
 void tst_QLocale::testNames_data()
 {
     QTest::addColumn<int>("language");