aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/propertyspec.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-09-15 13:37:10 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-09-20 20:44:31 +0000
commit4664606b5e37f7c876dea03aa4fc1b5451b114d9 (patch)
treea4db9a78d2fc8fdf17c9707327d6ad7963f01061 /sources/shiboken6/ApiExtractor/propertyspec.h
parent078af4082b9ca00e16074c054e813274eeb08b83 (diff)
shiboken6: Fix clang-tidy warning [performance-noexcept-move-constructor]
Add noexcept, fixing: warning: move assignment operators should be marked noexcept. Change-Id: I4d1244d07bdb88fafb8e67158cfdd4c53119c8b3 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> (cherry picked from commit fb2ecf5e8577353c2317c7e103d11c52d473d024) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 73bfcbc460a542a9ebfb6a2c13a7632fa7f9416e)
Diffstat (limited to 'sources/shiboken6/ApiExtractor/propertyspec.h')
-rw-r--r--sources/shiboken6/ApiExtractor/propertyspec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/propertyspec.h b/sources/shiboken6/ApiExtractor/propertyspec.h
index e27b53bd1..9e2e0f3d4 100644
--- a/sources/shiboken6/ApiExtractor/propertyspec.h
+++ b/sources/shiboken6/ApiExtractor/propertyspec.h
@@ -33,8 +33,8 @@ public:
const AbstractMetaType &type);
QPropertySpec(const QPropertySpec &);
QPropertySpec &operator=(const QPropertySpec &);
- QPropertySpec(QPropertySpec &&);
- QPropertySpec &operator=(QPropertySpec &&);
+ QPropertySpec(QPropertySpec &&) noexcept;
+ QPropertySpec &operator=(QPropertySpec &&) noexcept;
~QPropertySpec();
static TypeSystemProperty typeSystemPropertyFromQ_Property(const QString &declarationIn,