summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 15:45:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 18:05:21 +0200
commit254ca7de7225a17a967e73582043cca0bd3aac81 (patch)
treeb3432b41165793bf2d415db6395830386a1ec2a2
parentb3622537c33aa10231c0426682725982f6b91853 (diff)
Fix compilation in C++11 mode.
String literals must be separated by at least one whitespace, otherwise in C++11 mode, they're interpreted as user-defined literals. Change-Id: I9085550aec9b5d78ad7abeba65c20cbcdb8c4242 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
-rw-r--r--tests/auto/qgalleryfilter/tst_qgalleryfilter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qgalleryfilter/tst_qgalleryfilter.cpp b/tests/auto/qgalleryfilter/tst_qgalleryfilter.cpp
index b5112c5..27f5575 100644
--- a/tests/auto/qgalleryfilter/tst_qgalleryfilter.cpp
+++ b/tests/auto/qgalleryfilter/tst_qgalleryfilter.cpp
@@ -1059,7 +1059,7 @@ void tst_QGalleryFilter::debugMessage_data()
QTest::newRow("Inverse Populated QGallleryMetaDataFilter")
<< QGalleryFilter(!metaDataFilter)
- << QByteArray("!"TST_QGALLERYMETADATAFILTER_DEBUG_TEXT);
+ << QByteArray("!" TST_QGALLERYMETADATAFILTER_DEBUG_TEXT);
QGalleryUnionFilter unionFilter;
unionFilter.append(metaDataFilter);
@@ -1086,7 +1086,7 @@ void tst_QGalleryFilter::debugMessage_data()
<< QByteArray("QGalleryUnionFilter("
TST_QGALLERYMETADATAFILTER_DEBUG_TEXT
" && "
- "!"TST_QGALLERYMETADATAFILTER_DEBUG_TEXT
+ "!" TST_QGALLERYMETADATAFILTER_DEBUG_TEXT
") ");
intersectionFilter.append(!metaDataFilter);
@@ -1096,7 +1096,7 @@ void tst_QGalleryFilter::debugMessage_data()
<< QByteArray("QGalleryIntersectionFilter("
TST_QGALLERYMETADATAFILTER_DEBUG_TEXT
" || "
- "!"TST_QGALLERYMETADATAFILTER_DEBUG_TEXT
+ "!" TST_QGALLERYMETADATAFILTER_DEBUG_TEXT
") ");
}