aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/injectcode.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-05 13:10:06 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-06 11:32:18 +0200
commit92a4a2a0ed7a8a391406030d1db813de7dd31429 (patch)
treec601d58eb97099c343f2c496aced18f9d0988530 /sources/shiboken6/tests/libsample/injectcode.cpp
parentdc11b2d45959ebd4a088dcd7dbcc24a1753a62b3 (diff)
shiboken tests: Fix special functions (simple cases)
Introduce convenience macros similar to the Qt macros and specify the special functions where missing. Pick-to: 6.6 Task-number: PYSIDE-2479 Change-Id: I761a08e3e3c9393e1f2bb0514e2ad4de52cd99a0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/tests/libsample/injectcode.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/injectcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/injectcode.cpp b/sources/shiboken6/tests/libsample/injectcode.cpp
index 1c723c44f..707d14ed8 100644
--- a/sources/shiboken6/tests/libsample/injectcode.cpp
+++ b/sources/shiboken6/tests/libsample/injectcode.cpp
@@ -5,7 +5,7 @@
#include <sstream>
-InjectCode::InjectCode() = default;
+InjectCode::InjectCode() noexcept = default;
InjectCode::~InjectCode() = default;