summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedpointer/wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsharedpointer/wrapper.h')
-rw-r--r--tests/auto/qsharedpointer/wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qsharedpointer/wrapper.h b/tests/auto/qsharedpointer/wrapper.h
index c006686..4445860 100644
--- a/tests/auto/qsharedpointer/wrapper.h
+++ b/tests/auto/qsharedpointer/wrapper.h
@@ -41,7 +41,10 @@
#ifndef WRAPPER_H
#define WRAPPER_H
+QT_BEGIN_NAMESPACE
template <class T> class QSharedPointer;
+QT_END_NAMESPACE
+
class Wrapper
{
public: