diff options
Diffstat (limited to 'tests/auto/qsharedpointer')
-rw-r--r-- | tests/auto/qsharedpointer/externaltests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qsharedpointer/externaltests.cpp b/tests/auto/qsharedpointer/externaltests.cpp index d10c161..aaef779 100644 --- a/tests/auto/qsharedpointer/externaltests.cpp +++ b/tests/auto/qsharedpointer/externaltests.cpp @@ -360,6 +360,8 @@ namespace QTest { sourceCode.clear(); sourceCode.reserve(8192); + sourceCode += programHeader; + // Add Qt header includes if (qtModules & QExternalTest::QtCore) sourceCode += "#include <QtCore/QtCore>\n"; @@ -393,8 +395,6 @@ namespace QTest { "#include <stdlib.h>\n" "#include <stddef.h>\n"; - sourceCode += programHeader; - sourceCode += "\n" "void q_external_test_user_code()\n" |