Add #ifdef to avoid qdoc missing function warning

Change-Id: I1cba5543a519030a5b06bc80b6fd7410327c86c8
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Louai Al-Khanji 2015-08-24 10:29:56 +03:00
parent 16a506f418
commit 056328d3cb

View File

@ -66,6 +66,11 @@ public:
// compiler-generated copy/move ctor/assignment operators are fine!
// compiler-generated dtor is fine!
#ifdef Q_QDOC
// Stop qdoc from complaining about missing function
~QPointer();
#endif
inline void swap(QPointer &other) { wp.swap(other.wp); }
inline QPointer<T> &operator=(T* p)