diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-10-29 14:00:41 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-10-29 14:00:41 (GMT) |
commit | 41afd00317922946ca2539d0be565bd8f917d239 (patch) | |
tree | 7e598152767e6967dd17c43db741fe6e12993ccf /src/corelib/global/qglobal.h | |
parent | 28c004a2750205750735ccb7a46549c376673434 (diff) | |
download | Qt-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.h | 2 |
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 |