summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-04-18 14:27:44 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-18 10:46:39 +1000
commit3b98db1606b0f9bd24821c526d8f1eb6152e6cea (patch)
treecc9002d48267312782cdd64660c454527ae7bcb0 /tests
parent11b8382d416120dfe430a3a6015a0940a6ba2a3d (diff)
Make test compile in namespaced build.
Change-Id: I824864b8db755a8dc731e3c9de39e3dd7b16224a Reviewed-by: Rohan McGovern (cherry picked from commit ced0a98b5274be6a62ae7e4a0f9fc3161d0e40cb)
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/exceptionsafety_objects/tst_exceptionsafety_objects.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/exceptionsafety_objects/tst_exceptionsafety_objects.cpp b/tests/auto/exceptionsafety_objects/tst_exceptionsafety_objects.cpp
index c78782eabe..ab589edee1 100644
--- a/tests/auto/exceptionsafety_objects/tst_exceptionsafety_objects.cpp
+++ b/tests/auto/exceptionsafety_objects/tst_exceptionsafety_objects.cpp
@@ -549,7 +549,9 @@ struct IntegerMoveable
};
int IntegerMoveable::instanceCount = 0;
+QT_BEGIN_NAMESPACE
Q_DECLARE_TYPEINFO(IntegerMoveable, Q_MOVABLE_TYPE);
+QT_END_NAMESPACE
template <typename T, template<typename> class Container>
void containerInsertTest(QObject*)