diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/objecttypebyvalue.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/objecttypebyvalue.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/libsample/objecttypebyvalue.h b/sources/shiboken6/tests/libsample/objecttypebyvalue.h index 0d7ac0160..7b12ff945 100644 --- a/sources/shiboken6/tests/libsample/objecttypebyvalue.h +++ b/sources/shiboken6/tests/libsample/objecttypebyvalue.h @@ -3,13 +3,15 @@ #ifndef OBJECTTYPEBYVALUE_H #define OBJECTTYPEBYVALUE_H -#include <list> + #include "protected.h" +#include <list> + class ObjectTypeByValue { public: - ObjectTypeByValue returnSomeKindOfMe() { return ObjectTypeByValue(); } + ObjectTypeByValue returnSomeKindOfMe() { return {}; } void acceptKindOfMeAsValue(ObjectTypeByValue kindOfMe); void acceptListOfObjectTypeByValue(std::list<ObjectTypeByValue> listOfMe); |