QPropertyObserver: mark as noexcecpt
Change-Id: I2df75b35e42fa923c6cbf71a15569dc37140ee55 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
f2f5e962b6
commit
ed460ba7e2
@ -380,7 +380,7 @@ QPropertyObserver::~QPropertyObserver()
|
|||||||
d.unlink();
|
d.unlink();
|
||||||
}
|
}
|
||||||
|
|
||||||
QPropertyObserver::QPropertyObserver(QPropertyObserver &&other)
|
QPropertyObserver::QPropertyObserver(QPropertyObserver &&other) noexcept
|
||||||
{
|
{
|
||||||
bindingToMarkDirty = std::exchange(other.bindingToMarkDirty, {});
|
bindingToMarkDirty = std::exchange(other.bindingToMarkDirty, {});
|
||||||
next = std::exchange(other.next, {});
|
next = std::exchange(other.next, {});
|
||||||
@ -393,7 +393,7 @@ QPropertyObserver::QPropertyObserver(QPropertyObserver &&other)
|
|||||||
*nodeState = this;
|
*nodeState = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPropertyObserver &QPropertyObserver::operator=(QPropertyObserver &&other)
|
QPropertyObserver &QPropertyObserver::operator=(QPropertyObserver &&other) noexcept
|
||||||
{
|
{
|
||||||
if (this == &other)
|
if (this == &other)
|
||||||
return *this;
|
return *this;
|
||||||
|
@ -229,8 +229,8 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
constexpr QPropertyObserver() = default;
|
constexpr QPropertyObserver() = default;
|
||||||
QPropertyObserver(QPropertyObserver &&other);
|
QPropertyObserver(QPropertyObserver &&other) noexcept;
|
||||||
QPropertyObserver &operator=(QPropertyObserver &&other);
|
QPropertyObserver &operator=(QPropertyObserver &&other) noexcept;
|
||||||
~QPropertyObserver();
|
~QPropertyObserver();
|
||||||
|
|
||||||
template<typename Property, typename = typename Property::InheritsQUntypedPropertyData>
|
template<typename Property, typename = typename Property::InheritsQUntypedPropertyData>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user