QBindingObserverPtr: fix redundant ;
Found by applying headercheck to private headers, not just public ones. Amends f1b1773d0ae636fa9afa36224ba17566484af3cc. Pick-to: 6.7 6.5 6.2 Task-number: QTBUG-126219 Change-Id: I3998cd5875f989152c6bd6b24b04e61627959cc2 Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 1d163e916c8da49f9f617ca1545b5f6ac9d6a0b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
1fda161d69
commit
7953546072
@ -46,11 +46,11 @@ private:
|
||||
QPropertyObserver *d = nullptr;
|
||||
public:
|
||||
QBindingObserverPtr() = default;
|
||||
Q_DISABLE_COPY(QBindingObserverPtr);
|
||||
Q_DISABLE_COPY(QBindingObserverPtr)
|
||||
void swap(QBindingObserverPtr &other) noexcept
|
||||
{ qt_ptr_swap(d, other.d); }
|
||||
QBindingObserverPtr(QBindingObserverPtr &&other) noexcept : d(std::exchange(other.d, nullptr)) {}
|
||||
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QBindingObserverPtr);
|
||||
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QBindingObserverPtr)
|
||||
|
||||
|
||||
inline QBindingObserverPtr(QPropertyObserver *observer) noexcept;
|
||||
|
Loading…
x
Reference in New Issue
Block a user