File: fix_gcc6_ftbfs.patch

package info (click to toggle)
qdjango 0.6.2-3.3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 908 kB
  • sloc: cpp: 7,818; sh: 32; makefile: 12; javascript: 1
file content (19 lines) | stat: -rw-r--r-- 614 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/tests/db/qdjangocompiler/tst_qdjangocompiler.cpp
+++ b/tests/db/qdjangocompiler/tst_qdjangocompiler.cpp
@@ -594,6 +594,8 @@ void tst_QDjangoCompiler::fieldNames_data()
            " INNER JOIN \"item\" T1 ON T1.\"id\" = \"owner\".\"item2_id\"";
 }
 
+Q_DECLARE_METATYPE(QDjangoWhere)
+
 void tst_QDjangoCompiler::fieldNames()
 {
     QFETCH(QByteArray, modelName);
@@ -669,6 +671,5 @@ void tst_QDjangoCompiler::orderLimitSql()
     QCOMPARE(compiler.orderLimitSql(orderBy, lowMark, highMark), sql);
 }
 
-Q_DECLARE_METATYPE(QDjangoWhere)
 QTEST_MAIN(tst_QDjangoCompiler)
 #include "tst_qdjangocompiler.moc"