Add #ifdef to avoid qdoc missing function warning
Change-Id: I1cba5543a519030a5b06bc80b6fd7410327c86c8 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
parent
16a506f418
commit
056328d3cb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user