summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-04-18 04:27:44 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-04-18 05:34:27 (GMT)
commitced0a98b5274be6a62ae7e4a0f9fc3161d0e40cb (patch)
treedfdc523ccf18da86cd4d9563a0724c2b4dabafe9
parent069e4441f2e14a82b4ae39601734acb71c909bd9 (diff)
downloadQt-ced0a98b5274be6a62ae7e4a0f9fc3161d0e40cb.zip
Qt-ced0a98b5274be6a62ae7e4a0f9fc3161d0e40cb.tar.gz
Qt-ced0a98b5274be6a62ae7e4a0f9fc3161d0e40cb.tar.bz2
Make test compile in namespaced build.
Change-Id: I824864b8db755a8dc731e3c9de39e3dd7b16224a Reviewed-by: Rohan McGovern
-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 c78782e..ab589ed 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*)