DumperTest: Fix compile failure for gcc4.9

Change-Id: I1d97324a12a4d0974f1930351f337c381851d011
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2017-11-07 10:42:01 +01:00
parent 072e8c323b
commit d0fe839451
+2 -2
View File
@@ -6921,11 +6921,11 @@ void tst_Dumpers::dumper_data()
QTest::newRow("StringDisplay")
<< Data("#include <string.h>\n"
"struct QtcDumperTest_String"
"struct QtcDumperTest_String\n"
"{\n"
" char *first;\n"
" const char *second = \"second\";\n"
" const char third[6] = \"third\";\n"
" const char third[6] = {'t','h','i','r','d','\0'};\n"
" QtcDumperTest_String()\n"
" {\n"
" first = new char[6];\n"