summaryrefslogtreecommitdiffstats
path: root/src/render/raycasting/qcollisionqueryresult_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/raycasting/qcollisionqueryresult_p.h')
-rw-r--r--src/render/raycasting/qcollisionqueryresult_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/raycasting/qcollisionqueryresult_p.h b/src/render/raycasting/qcollisionqueryresult_p.h
index 1e608ecd2..95c7de160 100644
--- a/src/render/raycasting/qcollisionqueryresult_p.h
+++ b/src/render/raycasting/qcollisionqueryresult_p.h
@@ -108,14 +108,14 @@ public:
QCollisionQueryResult &operator=(const QCollisionQueryResult &);
#ifdef Q_COMPILER_RVALUE_REFS
- QCollisionQueryResult &operator=(QCollisionQueryResult &&other) Q_DECL_NOTHROW
+ QCollisionQueryResult &operator=(QCollisionQueryResult &&other) noexcept
{
swap(other);
return *this;
}
#endif
- void swap(QCollisionQueryResult &other) Q_DECL_NOTHROW
+ void swap(QCollisionQueryResult &other) noexcept
{
qSwap(d_ptr, other.d_ptr);
}