diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-10-11 11:06:42 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-10-12 13:01:45 +0200 |
commit | ed460ba7e230072bd3c78d97f6361059aa82d8f7 (patch) | |
tree | 91ecf08f892dc2424c2034e6832f38206e25cea6 /src/corelib/kernel/qproperty.cpp | |
parent | f2f5e962b6c9e9b146bb4cf24fa93f7207884dca (diff) |
QPropertyObserver: mark as noexcecpt
Change-Id: I2df75b35e42fa923c6cbf71a15569dc37140ee55
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/corelib/kernel/qproperty.cpp')
-rw-r--r-- | src/corelib/kernel/qproperty.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index c742e2194a..d165e155fb 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -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; |