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
Topi Reinio 2015-12-10 12:44:11 +01:00 committed by Topi Reiniö
parent b9bd83c9c2
commit 3d82b74c3a
1 changed files with 3 additions and 3 deletions

View File

@ -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);