aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libminimal/obj.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2023-10-05 13:10:06 +0200
committerFriedemann Kleint <[email protected]>2023-10-06 11:32:18 +0200
commit92a4a2a0ed7a8a391406030d1db813de7dd31429 (patch)
treec601d58eb97099c343f2c496aced18f9d0988530 /sources/shiboken6/tests/libminimal/obj.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 <[email protected]> Reviewed-by: Shyamnath Premnadh <[email protected]>
Diffstat (limited to 'sources/shiboken6/tests/libminimal/obj.cpp')
-rw-r--r--sources/shiboken6/tests/libminimal/obj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libminimal/obj.cpp b/sources/shiboken6/tests/libminimal/obj.cpp
index f21fb5454..a63a9c3c9 100644
--- a/sources/shiboken6/tests/libminimal/obj.cpp
+++ b/sources/shiboken6/tests/libminimal/obj.cpp
@@ -3,7 +3,7 @@
#include "obj.h"
-Obj::Obj(int objId) : m_objId(objId)
+Obj::Obj(int objId) noexcept : m_objId(objId)
{
}