summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-10-29 14:00:41 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-10-29 14:00:41 (GMT)
commit41afd00317922946ca2539d0be565bd8f917d239 (patch)
tree7e598152767e6967dd17c43db741fe6e12993ccf /src/corelib/global/qglobal.h
parent28c004a2750205750735ccb7a46549c376673434 (diff)
downloadQt-41afd00317922946ca2539d0be565bd8f917d239.zip
Qt-41afd00317922946ca2539d0be565bd8f917d239.tar.gz
Qt-41afd00317922946ca2539d0be565bd8f917d239.tar.bz2
Fix compilation in namespace
Reviewed-by: Joao
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 4e78ab1..50f1538 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -2092,7 +2092,7 @@ inline void qSwap(T &value1, T &value2)
#define Q_DECLARE_SHARED_STL(TYPE) \
QT_END_NAMESPACE \
namespace std { \
- template<> inline void swap<TYPE>(TYPE &value1, TYPE &value2) \
+ template<> inline void swap<QT_PREPEND_NAMESPACE(TYPE)>(QT_PREPEND_NAMESPACE(TYPE) &value1, QT_PREPEND_NAMESPACE(TYPE) &value2) \
{ swap(value1.data_ptr(), value2.data_ptr()); } \
} \
QT_BEGIN_NAMESPACE