aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/objectmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/objectmodel.h')
-rw-r--r--sources/shiboken2/tests/libsample/objectmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/tests/libsample/objectmodel.h b/sources/shiboken2/tests/libsample/objectmodel.h
index e15ce06a..1890ac47 100644
--- a/sources/shiboken2/tests/libsample/objectmodel.h
+++ b/sources/shiboken2/tests/libsample/objectmodel.h
@@ -35,8 +35,8 @@
class LIBSAMPLE_API ObjectModel : public ObjectType
{
public:
- explicit ObjectModel(ObjectType* parent = 0)
- : ObjectType(parent), m_data(0)
+ explicit ObjectModel(ObjectType *parent = nullptr)
+ : ObjectType(parent), m_data(nullptr)
{}
void setData(ObjectType* data);