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();
|
||||
}
|
||||
|
||||
QPropertyObserver::QPropertyObserver(QPropertyObserver &&other)
|
||||
QPropertyObserver::QPropertyObserver(QPropertyObserver &&other) noexcept
|
||||
{
|
||||
bindingToMarkDirty = std::exchange(other.bindingToMarkDirty, {});
|
||||
next = std::exchange(other.next, {});
|
||||
@ -393,7 +393,7 @@ QPropertyObserver::QPropertyObserver(QPropertyObserver &&other)
|
||||
*nodeState = this;
|
||||
}
|
||||
|
||||
QPropertyObserver &QPropertyObserver::operator=(QPropertyObserver &&other)
|
||||
QPropertyObserver &QPropertyObserver::operator=(QPropertyObserver &&other) noexcept
|
||||
{
|
||||
if (this == &other)
|
||||
return *this;
|
||||
|
@ -229,8 +229,8 @@ public:
|
||||
};
|
||||
|
||||
constexpr QPropertyObserver() = default;
|
||||
QPropertyObserver(QPropertyObserver &&other);
|
||||
QPropertyObserver &operator=(QPropertyObserver &&other);
|
||||
QPropertyObserver(QPropertyObserver &&other) noexcept;
|
||||
QPropertyObserver &operator=(QPropertyObserver &&other) noexcept;
|
||||
~QPropertyObserver();
|
||||
|
||||
template<typename Property, typename = typename Property::InheritsQUntypedPropertyData>
|
||||
|
Loading…
Reference in New Issue
Block a user