aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/objecttypebyvalue.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/objecttypebyvalue.h')
-rw-r--r--sources/shiboken6/tests/libsample/objecttypebyvalue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/objecttypebyvalue.h b/sources/shiboken6/tests/libsample/objecttypebyvalue.h
index c6d9aef87..7b12ff945 100644
--- a/sources/shiboken6/tests/libsample/objecttypebyvalue.h
+++ b/sources/shiboken6/tests/libsample/objecttypebyvalue.h
@@ -11,7 +11,7 @@
class ObjectTypeByValue
{
public:
- ObjectTypeByValue returnSomeKindOfMe() { return ObjectTypeByValue(); }
+ ObjectTypeByValue returnSomeKindOfMe() { return {}; }
void acceptKindOfMeAsValue(ObjectTypeByValue kindOfMe);
void acceptListOfObjectTypeByValue(std::list<ObjectTypeByValue> listOfMe);