diff options
Diffstat (limited to 'src/corelib/global/qtypeinfo.h')
-rw-r--r-- | src/corelib/global/qtypeinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qtypeinfo.h b/src/corelib/global/qtypeinfo.h index de484006c5..4255548b0d 100644 --- a/src/corelib/global/qtypeinfo.h +++ b/src/corelib/global/qtypeinfo.h @@ -181,6 +181,7 @@ namespace std { \ QT_BEGIN_NAMESPACE #define Q_DECLARE_SHARED(TYPE) \ +Q_DECLARE_TYPEINFO(TYPE, Q_MOVABLE_TYPE); \ template <> inline void qSwap<TYPE>(TYPE &value1, TYPE &value2) \ { value1.swap(value2); } \ Q_DECLARE_SHARED_STL(TYPE) |