Make test compile in namespaced build.
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 18 Apr 2011 04:27:44 +0000 (14:27 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:39 +0000 (10:46 +1000)
Change-Id: I824864b8db755a8dc731e3c9de39e3dd7b16224a
Reviewed-by: Rohan McGovern
(cherry picked from commit ced0a98b5274be6a62ae7e4a0f9fc3161d0e40cb)

tests/auto/exceptionsafety_objects/tst_exceptionsafety_objects.cpp

index c78782e..ab589ed 100644 (file)
@@ -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*)