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/tools/qscopedpointer.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/tools/qscopedpointer.h')
-rw-r--r-- | src/corelib/tools/qscopedpointer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qscopedpointer.h b/src/corelib/tools/qscopedpointer.h index a24cc71..b3a6db6 100644 --- a/src/corelib/tools/qscopedpointer.h +++ b/src/corelib/tools/qscopedpointer.h @@ -190,7 +190,7 @@ Q_INLINE_TEMPLATE void qSwap(QScopedPointer<T, Cleanup> &p1, QScopedPointer<T, C QT_END_NAMESPACE namespace std { template <class T, class Cleanup> - Q_INLINE_TEMPLATE void swap(QScopedPointer<T, Cleanup> &p1, QScopedPointer<T, Cleanup> &p2) + Q_INLINE_TEMPLATE void swap(QT_PREPEND_NAMESPACE(QScopedPointer)<T, Cleanup> &p1, QT_PREPEND_NAMESPACE(QScopedPointer)<T, Cleanup> &p2) { p1.swap(p2); } } QT_BEGIN_NAMESPACE |