preprocessor tests: compile fix

Change-Id: Iab9fb8ecbad94e08d39b6fad60caaf98a85d5980
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-04-16 11:39:46 +02:00
committed by hjk
parent 27809bd748
commit 37e3853090

View File

@@ -240,6 +240,7 @@ private:
QList<unsigned> m_definedMacrosLine;
};
QT_BEGIN_NAMESPACE
namespace QTest {
template<> char *toString(const QList<unsigned> &list)
{
@@ -264,6 +265,7 @@ namespace QTest {
return qstrdup(ba.data());
}
}
QT_END_NAMESPACE
QDebug &operator<<(QDebug& d, const MockClient::Block &b) { d << '[' << b.start << ',' << b.end << ']'; return d; }