Doc: Fix return type of QWeakPointer assignment operators
Imprementation of QWeakPointer assign operators have return types that are references. However, in qsharedpointer.h where separate declarations are held for documentation purposes, the reference qualifiers were missing. This led to incorrect documentation being generated. Task-number: QTBUG-49862 Change-Id: I32727762826feb15a3f4f22446e51d2df16e605f Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>bb10
parent
b9bd83c9c2
commit
3d82b74c3a
|
|
@ -108,11 +108,11 @@ public:
|
|||
|
||||
~QWeakPointer();
|
||||
|
||||
QWeakPointer<T> operator=(const QWeakPointer<T> &other);
|
||||
QWeakPointer<T> operator=(const QSharedPointer<T> &other);
|
||||
QWeakPointer<T> &operator=(const QWeakPointer<T> &other);
|
||||
QWeakPointer<T> &operator=(const QSharedPointer<T> &other);
|
||||
|
||||
QWeakPointer(const QObject *other);
|
||||
QWeakPointer<T> operator=(const QObject *other);
|
||||
QWeakPointer<T> &operator=(const QObject *other);
|
||||
|
||||
void swap(QWeakPointer<T> &other);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue